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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Shamatix
Post Partisan
Post Partisan

Dynamic Column names based on Dimension

Hey fellow users of Power Bi,


I currently have 2 tables

A dimension table (Table 1)

An Item table (Table2)

 

In table 2 there is 4 columns named "Dim1" "Dim2" "Dim3" and "Dim4", in Table2 there is a translation for these 4 columns.

PBIDesktop_2018-06-28_10-07-03.png

Each translation is different pr customer so I want to make these translation in a dynamic way, but I am unsure as of how.

How can I make some dax or something that has a dynamic column name based on the translation in Table1 ?

Further more I have uploaded some static example data (.pbix) so you can play around.

You can download the .pbix file here: http://ge.tt/5u8grLq2


I hope someone can help me out.


Best regards

5 REPLIES 5
McCow
Resolver III
Resolver III

Hi all!

I can't exactly understand you problem, it's worked as you described, like so:
DynColChanges.png

or so:DynColChanges2.png

 

 

 

 

And, eventually the link on yours example don't work at me 😞
The SAMPLE and LINK

Best regs!

Hi!

Is my solution and description ok or you need some clarification?

best regards!

@McCow could you please share the sample pbix file ? The above link is not working for me.

Anonymous
Not applicable

definitely interested in a solution too


@Anonymous wrote:

definitely interested in a solution too


Seems like no one knows how tho =/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.