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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
AlessandroBet
Helper V
Helper V

Remove column from xls

I'm getting data from xls file and i have created many visuals. Now i have to remove a column from the xls source and refresh the data. This comun is not used anymore indise PBI file

Which is the right process in order to avoid errors after refreshing?

 

Thanks

 

1 ACCEPTED SOLUTION
zoloturu
Memorable Member
Memorable Member

@AlessandroBet ,

 

If this column was not used in any transformation at PowerQuery steps then you don't need to do anything. Possible types of steps which can contain the name of the column in a transformation are Renamed columns, Pivot/Unpivot, Reordered columns, Transpose etc. Actually, you can go to Advanced Editor and remove the name of this column from all steps. 


Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!

You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@AlessandroBet 

If the columns is not used at all. Simply delete in the excel then manual refresh will not cause any error. 

Best,
Paul

zoloturu
Memorable Member
Memorable Member

@AlessandroBet ,

 

If this column was not used in any transformation at PowerQuery steps then you don't need to do anything. Possible types of steps which can contain the name of the column in a transformation are Renamed columns, Pivot/Unpivot, Reordered columns, Transpose etc. Actually, you can go to Advanced Editor and remove the name of this column from all steps. 


Regards,
Ruslan Zolotukhin (zoloturu)
BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
-------------------------------------------------------------------
Did I answer your question? Mark my post as a solution!
It was useful? Press Thumbs Up!

You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups

 

amitchandak
Super User
Super User

ChrisMendoza
Resident Rockstar
Resident Rockstar

@AlessandroBet -

 

In https://community.powerbi.com/t5/Desktop/Restoring-Removed-Column-Power-BI-Desktop/m-p/895271#M42918..., it was discussed on how to restore the column.

 

I believe the safest method to be RIGHT CLICK > DELETE the Column in the Fields List. The presumption of course is you're not referencing the values in the Column otherwise errors would be received.






Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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