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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
cdfisher89
Helper I
Helper I

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
Helper I
Helper I

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.