Data modeling OData service
Connect a Cognite Data Fusion (CDF) data model as a data source and use OData clients to query, transform, and visualize data stored in CDF data models.
The data modeling OData service allows you to access data models created in CDF using OData protocols.
The data modeling OData service accepts URLs with the following schema:
https://{cluster}.cognitedata.com/odata/{apiVersion}/projects/{project}/models/spaces/{spaceExternalId}/datamodels/{dataModelExternalId}/versions/{dataModelVersion}
Where:
{cluster}
: the name of theCDFcluster, e.g.,westeurope-1
.{apiVersion}
: the version of theODataservice API (latest is20230821
).{project}
: the name of theCDFproject, e.g.,publicdata
.{spaceExternalId}
: the external ID of thespacewhere the data model is published.{dataModelExternalId}
: the external ID of the data model.{dataModelVersion}
: the version of the data model.
If you point the OData client to the correct data model OData URL and authenticate, the server returns a table with all views existing on the associated data model.
Character guidelines
Follow these character usage guidelines for the space
and externalId
fields in Power BI:
-
Safe to use:
- Alphanumeric characters:
a-z
A-Z
0-9
- Unreserved special characters:
-
_
.
~
- Alphanumeric characters:
-
Use with caution:
- The following reserved characters may work but are not guaranteed to function consistently:
!
*
'
(
)
;
:
@
&
=
+
$
,
- The following reserved characters may work but are not guaranteed to function consistently:
-
Avoid:
- Any special characters not listed above may prevent
Power BIfrom loading or navigating data correctly.
- Any special characters not listed above may prevent
Filter items in data models
Use filters to create workable data sets for reporting or dashboarding. The data modeling OData service supports server-side filtering that allows you to push down filters to the server to avoid downloading all data into the client.
Type | Pushdown |
---|---|
Model property | Yes, except EndsWith and Contains |
Time series metadata | No |
Data and string points | timestamp only |
Files metadata | No |
Power Query performs EndsWith
and Contains
string filtering operations in memory.
JSONObjects
are presented as text values in Power BI.