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
Megachuckmc
Frequent Visitor

How can I remove a column I have delete from data source

Not sure why this appears to be so difficult (Probably just me)

 

I have previously created data sets which come from Salesforce.com - some are Objects (Account, Opportunity, etc.) and others are reports.  I am in the process of cleaning up some obsolete fields in Salesforce but since they were part of the data source that I initially defined in Power BI, if I simply delete them from Salesforce then the refresh and sync will fail.

 

I have tried to go into Power BI (Desktop) and Remove the fields from the query first but when I delete the field it give me an error saying that the field can't be found in the table?  I've gone round and round and can't see why what should be a simple task is not working! 

 

Goal: Delete fields in Salesforce object - Refresh and Sync in PowerBI don't break!

 

Thanks!

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

Hi @Megachuckmc,

You should have some steps in your query that explicitly reference the deleted column. You can open advanced editor on  your query, then find the deleted column in it, and correct the codes in advanced editor. This way, you will be able to refresh data in Power BI Desktop.

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

1 REPLY 1
v-yuezhe-msft
Employee
Employee

Hi @Megachuckmc,

You should have some steps in your query that explicitly reference the deleted column. You can open advanced editor on  your query, then find the deleted column in it, and correct the codes in advanced editor. This way, you will be able to refresh data in Power BI Desktop.

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