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.
I am connecting Power Bi to Dynamics 365. When I attempt to expand columns in the appointment entity, I receive the error below. It does not matter which field I am attempting to expand or the which field I check off to include in the expansion. This error does not occur for any other table or entity that I bring in. Any guidance is appreciated!
First part of the error:
Unexpected error: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written.
Details:
Microsoft.Mashup.Evaluator.Interface.ErrorException: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written. ---> Microsoft.OData.Core.ODataException: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written. ---> Microsoft.OData.Core.ODataException: When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateODataEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being written.
at Microsoft.OData.Core.Evaluation.ODataConventionalEntityMetadataBuilder.ComputeAndCacheId()
Solved! Go to Solution.
Hi @JZR,
Based on my research, there's one possibility about this error.
If context URL returns a collection of entities, the above error would occur, you would need to get entityset as described in the following similar thread, then re-connect to the OData data source in Power BI Desktop.
Thanks,
Xi Jin.
Hi @JZR,
Based on my research, there's one possibility about this error.
If context URL returns a collection of entities, the above error would occur, you would need to get entityset as described in the following similar thread, then re-connect to the OData data source in Power BI Desktop.
Thanks,
Xi Jin.
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 |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |