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'm working with Odata service of Dynamics 365 ( 8.2 ) and i want select a defined subset of columns of the considered entity.
To improve the performance i prefer choose the interested columns directly from the Odata URL.
Below, i expose the tests carried out.
Test 1
Using the following request OData.Feed("https://****-**.api.crm4.dynamics.com/api/data/v8.2/accounts?$select=accountid" ) the query returns all columns of entity "Accounts", but only the selected column has the right value, instead the other columns have been nulled.
Test 2
Otherwise using the following request Json.Document(Web.Contents("https://****-**.api.crm4.dynamics.com/api/data/v8.2/accounts?$select=telephone3, donotfax")) the query correctly returns only the selected column/s.
Could you support me to understand the trade off to use of two powerbi connectors or if there are syntax errors?
thanks in advance,
Andrea
Hi @AndreaRaponi,
It seems to me that there is no any syntax error in your queries, and the solution in Test 2 is better. Based on my research, it could still be an issue that filtering the initial OData query doesn’t work as expected if you are using the new OData service of CRM 2016 Online. Here is the article for your reference.
Regards
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |