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?
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.