Reputation: 11
I have a requirement where I need the column to change its title based on the slicer selection
Ex - My matrix grid has column called "ABCCases". I have 2 slicers which has values as shown below, One has years and other has CUR,AOP as slicer values
The requirement is based on selection , my grid column ABCCases should show "2022CURCases". As you see 2022 and CUR strings are coming from selected values. Appreciate if someone can shed some light.
Tried with field parameter, but the DAX is not able to get the slicer value by using selectedvalue formula
Upvotes: 0
Views: 1153
Reputation: 11
Assuming you have both slicers as Dim tables you can create a measure as below and add it to the title of your visual under Title Text Format Style - Field Value and on what field you need it to be based on the measure name in this scenario the below measure name.
_Title = SELECTEDVALUE(Year_Table[Year])& SELECTEDVALUE(Period_Table[Period])
Upvotes: 0