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! Learn more

Reply
GabinAM
Frequent Visitor

Flexible Column Name - Field Parameters

Hello everyone ! 😊

Initial Situation
I have to work on a tricky dataset with unbrand columns name. Please see below an example. 

As you can see, the correct columns name for Value 1 should be Label 1, for Value 2 Label 2, etc... However, the name of the label vary based on the structure [A, B, C].

IDStructureLabel 1Label 2Label 3Value 1Value 2Value 3
1AHigh LevelLow LevelMid Level1009095
2AHigh LevelLow LevelMid Level120100110
3AHigh LevelLow LevelMid Level150100130
4BUp LevelDown Level 10025 
5BUp LevelDown Level 10075 
6BUp LevelDown Level 12532 
7BUp LevelDown Level 10085 
8CTopDown 8685 
9CTopDown 8890 


In order to visiualise the data easily, I would like to create a table with flexible Column name based on the Label. Please see below the desired result: 

IDStructureHigh LevelLow LevelMid Level
1A1009095
2A120100110
3A150100130

 

IDStructureUp LevelDown Level 
4B10025 
5B10075 
6B12532 
7B10085 

 


In PowerBI
In order to reach this result, I created a Parameter with Variable Parameter Name based on Measure.

 

GabinAM_0-1715078572432.png

However, if on card the Measure display the correct value, on the table the column name remains unchanged. Please see below. 

 

Example 1

GabinAM_1-1715078743610.png

 

Example 2

GabinAM_2-1715078758967.png


I tried different possibilities but unfort I'm still stuck with my table... so I would be very grateful if you can have a look at this 🙏

Please find here the PowerBI as well as the Excel files. 

Many thanks in advance for your help! 

1 ACCEPTED SOLUTION
ExcelMonke
Super User
Super User

Hello,

Unfortunately, you are not able to dynamically change the name of a column within a table/matrix visual. What you can do however, is have a dynamic title to your visual. You can then do something like: 

VizTitle = 

CONCATENATE("Model Based on ", SELECTEDVALUE(Sheet1[Label]))

 

In projects where I had to create something similar, I called the column "Modeled Value", to indicate that this is a value that is dynamic depending on what the end-user selects

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
ExcelMonke
Super User
Super User

Hello,

Unfortunately, you are not able to dynamically change the name of a column within a table/matrix visual. What you can do however, is have a dynamic title to your visual. You can then do something like: 

VizTitle = 

CONCATENATE("Model Based on ", SELECTEDVALUE(Sheet1[Label]))

 

In projects where I had to create something similar, I called the column "Modeled Value", to indicate that this is a value that is dynamic depending on what the end-user selects

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi @ExcelMonke 

Thanks for your feedback! 

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