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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Schedule Refresh Error on Salesforce Table - Expanded Columns

I am linking to one Salesforce object, and within that object I have two columns that need to be expanded to pull one field each. All working well using Power BI desktop and manual refreshes in the app have no issues. I verified the refresh as well that it is picking up new data.

 

However, once I publish the report to Power BI Service, neither the manual nor the scheduled refresh work. I always get the same error message implicating the expanded column(s). Simply stating that the column could not be found in the source table.  In my case it is the Opportunity table and the expanded column is called RecordType. I expand RecordType to pick up the name column  so Power BI creates a column name of RecordType.name.

 

So there seems to be some kind of disconnect between how the desktop application is managing refresh vs the online service. I tried to troubleshoot quite a bit but really not getting anywhere. Any help or ideas would be greatly appreciated!

 

 

3 REPLIES 3
ReportMaster
Post Partisan
Post Partisan

Hi @Anonymous were you able to find a solution? I've used the Salesforce connector but I had some issues updating my report on the service too. As a workaround, maybe you can try to test your connection with a 3rd party connector. 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

v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may check if the following post helps.

https://community.powerbi.com/t5/Issues/Salesforce-Data-refresh-error-Expression-Error-The-column-quot/idi-p/174398

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello,

 

It doesn't seem to be the same issue. In my case it is the expanded columns that spring the error in the Power BI service. Again, not happening with refresh in the desktop client. Here is the first part of my query that is causing the error:

 

let
Source = Salesforce.Data("https://login.salesforce.com/", [CreateNavigationProperties=true]),
Opportunity = Source{[Name="Opportunity"]}[Data],
#"Expanded RecordType" = Table.ExpandRecordColumn(Opportunity, "RecordType", {"Name"}, {"RecordType.Name"}),
#"Expanded Owner" = Table.ExpandRecordColumn(#"Expanded RecordType", "Owner", {"Name"}, {"Owner.Name"}),

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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