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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
pxg08680
Resolver III
Resolver III

Table Column Header Changing based on Filter Selection

Hi Everyone,

 

I need an immediate solution or work around for this-

" I have table with 6 columns and one of the column name(say column 4) is ProductRates.

I have a Slicer on my report with values as

        -ProductLaunchRates

        -ProductEndRates

        -ProductEstimatedRates.

 

So when I select Option3 from the slicer, my table column name(column 4) should change to ProductEstimatedRates in place of ProductRates along with its respective values.

Default column name should be ProductRates.

 

is this possible, if yes how??"

 

 

Thank You

 

1 ACCEPTED SOLUTION

@v-yuezhe-msft

Thank you for the reply.

 

Right now I am using the solution of @nmck86 and card visual as awork around.

But this issue needs to resolved in a proper way in future.

 

Thank You

View solution in original post

5 REPLIES 5
nmck86
Post Patron
Post Patron

you may be looking for something similar to below

 

Fact Sheet Title = IF(HASONEVALUE('table', [field name]), "Text that I wanted to appear" & VALUES('table'[field name]) & " More text I want to see" &", "& VALUES('table'[field name]), IF(HASONEVALUE('table'[field name]), "moretext"& VALUES('table'[field name]), "more free text"))

 

a good video to reference is below:

https://www.youtube.com/watch?v=wYgjaI35rg8 

@nmck86

 

What you shared is working fine but thing is how do I use it as Column Header...?

 

Your solutions takes the selection from slicer and concatinates text and displays what I needed. But can you tell me how to use this new measure as a table column header..

 

 

Thank You

Can someone provide an update on this..??

All I need is in a Table visual, column header needs to be changed according to the selection made in the slicer/filter.

 

Any help is appreciated.

 

 

Thank You

@pxg08680,

We are not able to dynamically change column headers based on slicer selection.

There is a similar thread about this issue, please vote it up.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/20076022-can-i-make-column-header...

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft

Thank you for the reply.

 

Right now I am using the solution of @nmck86 and card visual as awork around.

But this issue needs to resolved in a proper way in future.

 

Thank You

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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