Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I've some issues with working with the CDM, dataflows and the relationships defined in the model.json.
The first step is getting the data from Dynamics to my Azure Data Lake gen 2 in the CDM folders:
Then I create a dataflow in the Power BI service on this folder:
Afther this step I connect to my dataflow in Power BI desktop:
https://docs.microsoft.com/en-us/power-bi/transform-model/service-dataflows-create-use
But the relationships defined in the model.json are not correct handled in Power BI desktop. Does someone know how I can fix this?
The model.json relationships are generated well by Dynamics. (See: https://docs.microsoft.com/en-us/common-data-model/model-json#relationships)
Model.json relationships:
Power BI desktop relationships:
Any news here? I have the exact same problem.
Thanks in advance
Still no movement 3 years later?
Hi @haassiej ,
Sorry, I couldn't find where "the relationships defined in the model.json are not correct handled in Power BI desktop", can you give me a hint?
Best Regards,
Jay
In the model.json file, relationships are written between certain entities from Dynamics (the Common Data Model (CDM)). So you would expect that if you connect Power BI to your "model.json" file, the relationships will be included in Power BI.
That does not happen now, so you have to manually establish all relationships yourself. In my case more then 60 relations.
In the example of the relationships in model.json you see a relationship of:
AssetTransactionSummaryEntity: TransDate
to
FixedAssetTransactionDate: Date_
Power BI does not recognize this relationship described in the JSON. Power BI itself searches for relationships and comes up with the relationship "ROW_UniqueKey" to "Row_UniqueKey"
So it doesn't read the relationships from the generated model.json
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |