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 have been facing this issue for the past 1 year that when I connect Opportunity object from Salesforce it is throwing me this error. I contacted Salesforce and they told me that this error is coming from Power BI side and that their API version is 29. When I asked power BI they said they don't have work around for this. This is really annoying as everytime I had to extract the Opportunity object into a excel and connect it with power BI and hence it's useless even if auto refresh is enabled. Is there any work around to fix this ? Kindly help.
Hi @Kolumam
Are you able to get data from other objects?
Have you tried with Sandbox?
Please try with:
In Power BI, Gest data, Blank Query
In query editor go to View, Advanced Editor
Copy the following:
let
Source = Salesforce.Data("https://login.salesforce.com/"),
#"Filtered Rows" = Table.SelectRows(Source, each ([Name] = "Opportunity")),
#"Expanded Data" = Table.ExpandTableColumn(#"Filtered Rows", "Data", {"Id", "RecordTypeId", "Name", "StageName"}, {"Id", "RecordTypeId", "Name.1", "StageName"})
in
#"Expanded Data"
Thanks
Pablo
Hi @pablobarra
I copy pasted your command in query editor. IT gave me the same error.
Kindly help me with this. Thanks
Kolumam
Hi @Kolumam
Are you able to get data from other objects, like account, contacts, etc?
Have you tried connecting to opportunities in Sandbox (Prelive/test)?
You are connecting to an standard object, there shlould not be issues.
You can try with the same command but first:
Thanks
Pablo
Hi @pablobarra
Even after clearing the cache the same error prevails. I can connect to other objects like accounts, leads etc.. The reason this is not working is because of the API version 29 for Opportunity object. Please see the screenshot even after clicking refresh all.
Thanks
Krishnamurthy
I had a tremendous amount of lag and issues with loading data from SFDC in the beginnig and it turned out that our instance had a TON of validation rules causing the issues... so we added 'View All' to my user profile to bypass SFDC having to go through and check through validation rules before it served up data - and it instantly made pulling objects a lot smoother...
Do you have the ability to get 'view all' added as a permission set to your user profile in SFDC?
Not sure if you are sysadmin or have the right access to add it yourself - but it would be in 'Advanced User Details' and then navigate down to 'permission sets' and add the 'View All Data' permission set.
Hi @anktaggrwl
It was in Read and I enabled View all and then tried connecting to Power Bi. Still the same error.
Thanks
Krishna
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 |
---|---|
115 | |
101 | |
72 | |
68 | |
45 |
User | Count |
---|---|
145 | |
106 | |
105 | |
90 | |
65 |