Forum Discussion

Pikachu-Power's avatar
Pikachu-Power
Icon for Impactful Individual rankImpactful Individual
5 years ago
Solved

Matrix dynamic column header with YEAR and MONTH

Hello,

 

I read some article about dynamic colums for matrix but couldnt find an appropriate way.

 

I have a matrix with 20 measures. And a YEAR and MONTH slicer. What I want is:

 

BEFORE:

Measures in the value field / the column name:

SALES YTD CY = CALCULATE...

SALES YTD CM = CALCULATE...

...

 

AFTER:

SALES YTD 2020 = CALCULATE...

SALES YTD 12 = CALCULATE...

...

 

Is that possible?

 

  • Anonymous's avatar
    Anonymous
    5 years ago

    Pikachu-Power 
    It is not possible to dynamically change the column name based on the slicer, my suggestion is just change the rename the column to best explain the situation, e.g. YTD(current/selected). 

     

    In case you need measure help, you can use ISFILTERED function to show current and selected YTD value. 


    Paul Zheng _ Community Support Team
    If this post helps, please Accept it as the solution to help the other members find it more quickly.

3 Replies