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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply

Renamed columns causing error

Hi,

 

We have a report the is pulled from SalesForce.  One column in this report was previously named "Sales Rep."  last week, we changed the wording to "Sales Representative" (only renamed it, did not create a new column.)  I get the below error on my PBI reports that use this field now.  I tried renaming the columns to "sales representative" but still receive the error.  How do I get PBI to recognize the name column name without removing the data source altogether?PBI Error.JPG

8 REPLIES 8
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@SaganBigRedDog,

Based on your screenshot, the error occurs in Power BI Desktop. Do you create report in Power BI Desktop and publish the report to Power BI Service? If so, in Query Editor of Power BI Desktop, look into “APPLIED STEPS”, some steps should make changes/calculation on the ‘Sales Rep’ column(e.g. Change Type), you should delete such steps to solve the issue.

However, if you directly connect to SalesForce in Power BI Service, when you have schema changes(e.g. rename column) in the data source, you will receive the error like “The column ‘Sales Rep’ of the table wasn’t found”. You would need to remove the dataset in Power BI Service and re-connect to SalesForce.

Regards,
Lydia

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.
Greg_Deckler
Community Champion
Community Champion

That's really odd, renaming columns hasn't been an issue in Power BI for forever. Used to be really annoying. Where did you do the renaming, in Desktop or Query Editor? And you say that you tried renaming it back and it didn't fix the issue?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi,

 

To clarify,  the renaming issue is stemming from a field that was renamed in Sales Force.  It seems like pBI is still looking for the old name of the column. To resolve, I renamed the column in PBI (to match the new Sales Force field name). This was done on the desktop version (where the error was received).  It did not work and is still searching for the old column name.

Hmmm. Yeah, I can see how that might be problematic. Are you able to trace back where the error is happening and perhaps change the formula? Distributed data governance is hard.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hm there isn't actually a formula that is being used.  It's not a calculated column.  It's the exact column that fed over from Sales Force.

OK, so are you using the Salesforce connector in the Desktop or Get Data from the Service?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Using Get Data from the Service

Hi @SaganBigRedDog 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 SF objects. 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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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