GetCDF
Use this function to fetch data from Cognite APIs using the HTTP GET method. The function auto-paginates CDF until the request cursor is exhausted. For optimal performance, see the Cognite API specifications for endpoints that support this HTTP method and the maximum supported page size for each endpoint.PostCDF
Use this function to fetch data from Cognite APIs using the HTTP POST method. The function auto-paginates CDF until the request cursor is exhausted. For optimal performance, see the Cognite API specifications for endpoints that support this HTTP method.The
PostCDF function offers auto-pagination for simple requests that expect a cursor field (string) at the top level of the request body. For more complex requests, write a custom pagination logic using the Power Query M language. See Power Query functions and example queries.GraphQL
Use this function to fetch data from a CDF data model using GraphQL.The GraphQL function offers auto-pagination for GraphQL queries that include only one query expression with one pagination target, identified by the
after: $cursor and pageInfo { hasNextPage endCursor } fields.For more complex queries, write a custom pagination logic using the Power Query M language. See Power Query functions and example queries. Always test the queries and variables in Power BI with CDF Query Explorer to ensure they’re correct.