Forum Discussion
Cannot access Salesforce work order object via Power Query or Power BI Desktop
I cannot see the Salesforce work order object via the power query or power BI desktop connector. I can succesfully view and query many other objects but the work object does not appear in the power query navigator view (see screenshot). This article states that the work order object is supported by API version 36.0 and later so perhaps power query uses an earlier version?
5 Replies
- AnonymousNot applicable
Hi Anonymous,
I am not able to view your screenshot.
However, if you have sufficient permissions on these standard objects in Salesforce, and you are not able to view all standard objects which are available in API version 36.0 or later, I agree with you, the Power BI Desktop may use earlier version of Salesforce API.
Thanks,
Lydia Zhang- AnonymousNot applicable
To access Work Order, you can specify the version of the API used by the connector :
Salesforce.Data(URL, [CreateNavigationProperties=true, ApiVersion=36.0]
- HansTheEnforcerHelper I
Please accept Anonymous solution,
I can confirm this works. FYI API version at this point in time is up to v45
- QueryWhizPost Patron
Hi, were you able to find a solution? As a workaround maybe you can try to test your connection with a 3rd party connector, which pulls data directly from the SF objects API. I've tried windsor.ai, supermetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:
After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:
There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
- metricaPost Prodigy
The workaround in the thread is correct. Work Order became available starting with Salesforce API 36.0, and the connector allows ApiVersion to be specified in Salesforce.Data. Today, use a currently supported Salesforce API version rather than hard-coding the old v36 value.
Power BI Connector for Salesforce can also expose Salesforce objects available to the application user.
AppExchange and 30-day trial:
https://appexchange.salesforce.com/appxListingDetail?listingId=31526f0e-abd8-4cb5-bd1a-3bd56b5c0577