cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors