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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Dynamic column name from its value

Hi

 

Is there any way to dynamically change column name from its values. I think it might be possible using advanced editor, but i'm not very good at writing M.

 

I have Dimension table and i want Dimension_name column to have its name dynamically from its values whitch is same in every row in this case.

 

I need this that i can use same template in every customer case and i dont have to change Dimension names every time i change data source.

 

There might be easier solutions and i welcome every solution you can give me.

 

thanks

 

 

1 ACCEPTED SOLUTION
MarcelBeug
Community Champion
Community Champion

Watch this video in which "Source" is the name of the previous step in my query.

Unfortunately, while typing, it jumped from the second line to the first line, but it is the same "Source".

 

Specializing in Power Query Formula Language (M)

View solution in original post

14 REPLIES 14

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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