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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Renaming columns by another table and changing the naming without breaking existing reports

Hi,

 

I have a table (let's call it: rename_table), which is used to rename columns in other tables in a PowerBI report. The "rename_table" contains two columns: original_column_name and new_column_name. The renaming of columns in other tables is done in M-query with:

 

rename_column = Table.RenameColumns(source, Table.ToRows(rename_table), MissingField.Ignore)

 

I have the following problem. I want to change the new_column_names (i.e. overwrite the rename_table) without breaking graphs that use the current new_column_names. Is there any way to do it? From my tests I haven’t found a way to do it. Manually renaming the columns is not practical.

 

All the tables are SQL tables.

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous If you are changing the column names in PQ , your visuals are going to break, I guess you have to redo this or rename manually which you alredy know is painful. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

3 REPLIES 3
parry2k
Super User
Super User

@Anonymous If you are changing the column names in PQ , your visuals are going to break, I guess you have to redo this or rename manually which you alredy know is painful. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thank you for a quick answer.

 

Do you know whether it is possible to build a solution in PowerBI which makes it possible to:

 

1. rename columns from some source

2. be able to change those rename column names, if needed, so that visuals won't break

 

Or is the only solution to do it manually?

@Anonymous  unfortunatel afaik it is manual work. 

 

Would appreciate Kudos 🙂 if my solution helped. 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.