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.
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.
Solved! Go to Solution.
@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 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.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |