Power BI connector (OData)
Use the Power BI OData connector to fetch data using Cognite's OData services. The connector is backward-compatible with existing reports, and users can authenticate with their Entra ID credentials.
Set up a connection to Cognite Data Fusion
Follow these steps to connect a Cognite Data Fusion (CDF) project as a data source in Power BI.
-
In
Power BI Desktop, sign in with your organizational account. -
On the Home tab, select Get Data and then More. In the Get Data dialog, search for Cognite and select the Cognite Data Fusion (Odata) connector.
-
In the dialog box, enter details to configure the connection to
CDF:-
Data Source Identifier: Enter the
CDFproject name, a data model URL, or a customODataquery to retrieve data fromCDF. This is a required field.To authenticate as a guest user in
Entra ID, add theEntra IDtenant ID, for example,dataSource?tenantId=MyEntraIDTenant.onmicrosoft.com
.If you are passing a custom
ODataURL that already contains query parameters, then you can add thetenantId
at the end with this syntax:dataSource?$filter={Filter}&tenantId=MyEntraIDTenant.onmicrosoft.com
. -
CDF API URL: Enter the URL to the
CogniteAPI, for example,https://api.cognitedata.com
orhttps://az-eastus-1.cognitedata.com
. To access some OData services, you may also need to add the API version, for example,https://bluefield.cognitedata.com/20230821
.
-
-
When prompted, sign in with your
Entra IDaccount credentials. -
Select Connect to open the Navigator window.
-
Select the data you wish to load or transform. For example, select the Assets table.
-
Select Load to import the data directly or Transform Data to open the
Power Query Editorfor data filtering and transformation.
Filtering data
Use the Transform Data option to apply filters and reduce the amount of data loaded into Power BI.
Scheduled refresh
After publishing your report to the Power BI service, you can schedule data refreshes to keep your data current.
Data model URLs
If you're using data models, make sure that Data Source Identifier includes the correct data model URL. For more information, see Data modeling OData service.
Custom queries
You can enter custom OData queries in the Data Source Identifier field to retrieve specific datasets. For more information, see Custom OData queries.