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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

7 REPLIES 7
v-yuezhe-msft
Employee
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
Super User
Super User

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?

 


@ 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!:
The Definitive Guide to Power Query (M)

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.


@ 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!:
The Definitive Guide to Power Query (M)

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?


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Using Get Data from the Service

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors