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
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors