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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ManuClaessens
Regular Visitor

Dynamically change column title based on vlookup different table

All,

 

I'm looking for a way to change the column title based on a vlookup of a different table.

 

More specifically, this is how the raw data looks like:

raw data.PNG

 

Then, I would like powerbi to lookup the column title value 'F000000000000000000100000000000000000000' in below table, and rename the column title to the value associated in below table:

lookup value.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Can anyone guide me in how to accomplish this?

 

Thanks!

Manu

 

1 ACCEPTED SOLUTION

3 REPLIES 3
petrovnikitamai
Resolver V
Resolver V

query editor

try

1. table1: select to first 3 columns and use unpivot other columns

 

333333.jpg 

2. merge table1 & table2

2222222222222.jpg

 

3. pivot column (picture1 step3)

Dear Petrov,

 

Thanks for your quick reply.

Any chance you can put your powerbi in English?

As I can't read the language, tough to understand exactly what I need to do.

 

Appreciated!

Manu

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.