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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MCDyna
Helper I
Helper I

Change column name based on list

Hi Community,

 

I have a simple example file for my problem..

 

Two stores send me the same info, but with different column names. I have a table with the "old" names, and the "new" names I want them to transfer to.

 

What formula do I need to get this?Schermafbeelding 2022-03-02 083055.png

 

 

The sample file:

The link 

 

5 REPLIES 5
Anonymous
Not applicable

Hi @MCDyna ,

 

Currently we can only manually change the column name or table name.

There is a trick that you could create visuals for both new and old table then show different visuals based on specific condition.

https://www.linkedin.com/pulse/show-different-visuals-based-condition-power-bi-alina-fisher 

 

Best Regards,

Jay

Thanks Jay. 

 

Wouldn't a DAX script work in the form of:

 

take column 'location' and change it to 'city' & take column 'value' and change it to 'totals'

 

 

Anonymous
Not applicable

Hi @MCDyna ,

 

Value could be changed, but the column header could not.

You could refer this topic.

https://community.powerbi.com/t5/Desktop/Display-data-from-the-same-column-with-different-format/m-p... 

 

Best Regards,

Jay

amitchandak
Super User
Super User

@MCDyna ,The information you have provided is not making the problem clear to me. Can you please explain with an example?
Check if userelationship can help

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...
Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit, here is a link to the file https://www.file.io/2ar2/download/vnasaZlP8CbZ 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors