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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.