Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper I
Helper I

DataSource.Error: Web.Contents failed to get contents from

DataSource.Error: Web.Contents failed to get contents from '


I am trying to connect to the Lead table in and keep getting this error. This query used to work. I am not sure what changed to prevent it from working.


I have tried many solutions on the forum and none seem to work. I also tried connecting via Excel PowerQuery and get the same error, but the query works in Tableau which leads me to think this is related to a Microsoft driver or API into


Could use some help here.


even a preview query produces the error in Power Bi Desktop:




I am also getting this error in power bi desktop, will using web version solve this

New Member

This workaround from the original source (Follow this Link) worked for me, in case anyone is still looking for a solution on this


    Source = Salesforce.Data("[salesforce URL]", [CreateNavigationProperties = true]),
    Account1 = Source{[Name="Account"]}[Data],
    Account2 = Table.SelectColumns(Account1, { "First Column", "Second Column" })
New Member

So after playing around with this for a while here's what I think - 

This is an issue that you can get around by using the choose columns step after bringing in the SF object. The reason this works is because of query folding in PowerBI - the query that PowerBI sends to SF after you include a remove/choose columns step is small enough to work.


However! If there is anything else in your query that would turn OFF query folding - (for me, this happened when I added a relative date filter), then this solution will no longer work, because now PowerBI is trying to query the full SF object, and then after that comes back apply a choose/remove columns. 


So - the workaround that worked for me, if available to you - put the base query in a PBI dataflow (SF connection and choose columns), then bring in the dataflow to PBI and apply any additional transformation to that. 


Here's a link to more infromation about query folding:


Hope this helps.

Regular Visitor

Hi @ushah763 


I have the same problem. Did you have a solution?


best regards

Hi Carloshluiz,


Unfortuately no solution was found as it looks like its an error where the individual SFDC object has more columns than the limit of SFDC Connector in Power BI.


The workaround I found it I now use an addin to SFDC called Salesforce Inspector to build my queries for those tables and then copy the columns i've selected in SFDC Inspector over to Power BI.


Hope that helps.



Not applicable

I am having the same problem...did you find a solution?

Helper I
Helper I

Im having this exact same issue trying to load a Salesforce object. Did you manage to find the cause of this?




Helper I
Helper I



i tried reducing the query to only a few columns, this didn't work:



Source = Salesforce.Data("", [CreateNavigationProperties=true]),
Lead = Source{[Name="Lead"]}[Data],
#"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Last_Status_Date__c", "Last_Converted_Status_Date__c", "Id", "Lead_Owner_Name__c","Name", "Title", "Lead_Owner_Sub_Territory__c", "Company", "State", "Country", "Phone", "Email", "CreatedDate", "LastActivityDate","Status", "DoNotCall", "Lead_Account_Sales_Program_Type__c", "Account_Type__c","ActivityHistories","LS_Status__c" })


Hi @ushah763 

It seems you may check the query.Please have a look at below post to check if it could help you.


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

That does not help. I already tried selecting select columns in the editor, but it seems i need to do so in the initial query to and not sure how to do that. The post you referenced does not show that either.



Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors