Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
cdfisher89
Frequent Visitor

Query Salesforce Data Error - Query too complicated

I am getting the below error when I query our opportunity (assignment) data from Salesforce.  How do I simplify the query?  Do I have to pull-in less fields?

 

2016_08_22_12_29_51_Assignment_Query_Editor.png

6 REPLIES 6
QueryWhiz
Post Patron
Post Patron

Hi @cdfisher89 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 and has never given me any issue of this kind. 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:

 

SALESFORCE-1.png

 

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:

 

SALESFORCE-2.png

 

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. 

 

SELECT_DESTINATION_NEW.png

cdfisher89
Frequent Visitor

I am also getting this errror for a custom object.2016_08_22_12_36_55_Assignment_Power_BI_Desktop.png

Help! Still having this issue!

I solved it.  I just needed to go into the advanced query editor and reduce the number of fields

I'm having the same issue, but cannot work out how to edit the query to reduce the columns.

 

How can the columns be selected prior to the creating the connection?

You need to Click on Edit in when you are loading the object - see image.  You then go into advanced Query editor and specify what columns you want.  Sorry for the late respocnc2017_05_16_11_16_42_SAAMv2_Power_BI_Desktop.png

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors