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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Charles
Regular Visitor

Query is either selecting too many fields Error

I'm using the Salesforce Object Connector, but receive the following error message when loading the data:

 

DataSource.Error: Query is either selecting too many fields or the filter conditions are too complicated.
Details:
List

 

I won't need all columns from the object so I want to reduce the number of columns selected.  I understand how to do this once the connection is established, but given the above error I dont have the option.  The Choose Coulmns button is grayed out.

 

Any ideas?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Charles,

In Query Editor of Power BI Desktop, please open Advanced Editor of your current query, then reduce columns in the code within Advanced Editor. There is an example for your reference.

1.PNG


Thanks,
Lydia Zhang

View solution in original post

3 REPLIES 3
metrica
Post Prodigy
Post Prodigy

Hi @Charles,

 

This error means the Salesforce query exceeds the field or query-complexity limit. In the current Salesforce Objects connector, use the Select Query option to request only the required fields.

 

Power BI Connector for Salesforce also provides visual field selection, filters, SOQL, and data preview.

 

AppExchange and 30-day trial:

https://appexchange.salesforce.com/appxListingDetail?listingId=31526f0e-abd8-4cb5-bd1a-3bd56b5c0577

 

Docs and support:
https://metricasoftware.com/docs/salesforce/
https://metricasoftware.com/docs/salesforce/contact-support/

 

Cheers,
Metrica Team

ReportGuru
Post Patron
Post Patron

Hi @Charles 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 connector. I've tried windsor.ai, supermetrics (which doesn't have PBI as a destination, so you first have to export to Google Sheets and then export to PBI) 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

Anonymous
Not applicable

Hi @Charles,

In Query Editor of Power BI Desktop, please open Advanced Editor of your current query, then reduce columns in the code within Advanced Editor. There is an example for your reference.

1.PNG


Thanks,
Lydia Zhang

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.