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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
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

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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