top of page
9d657493-a904-48e4-b46b-e08acb544ddf.png

POSTS

Power Query: Rename Columns from a Mapping Table (Inline step)

Updated: May 28

Function: Would you like to rename multiple columns in a single operation? This custom step allows you to rename as many columns as needed. You need one mapping table (let's call it "RenameTbl") with columns: OldName and NewName, and then reference it simply with a Custom Column step. Yellow markings indicate the difference between Old and New Columns after the custom step.


Data transformation interface in Power BI showing custom columns added. Tables display chemical categories. Green and yellow highlights.
Custom Column in applied steps

Power Query code that you will use in the Custom Column.

(Use let and in Inside Steps)

Code snippet showing a script to rename table columns in a programming environment, with comments for clarification.
Custom column step



Need a code snippet? Free of charge =)




Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
Official Logo of the Webpage

Transform your data with our data analytics services! From Excel to Power BI with Power Query in the background, drive your business forward!

  • Linkedin
  • Xing
  • RSS
  • 4844455

Contact Us

Address:
83022 Rosenheim, Bavaria

Join Us!

Stay updated with tips & tutorials!

© 2025 By Excelized. | SITE DESIGNED BY RS-TECH

bottom of page