Forum Discussion

Mahendra_k's avatar
Mahendra_k
Icon for Helper I rankHelper I
1 year ago
Solved

Dynamic Measure Headers Based on Two Different Date Slicers in Matrix

Hi everyone,

I have a matrix visual in my Power BI report that contains two measures in the Values section.
Each measure is calculated based on a different date slicer.


For example:

Measure 1 is controlled by Date Slicer 1
Measure 2 is controlled by Date Slicer 2


Now, if a user selects:

October 2025 in Date Slicer 1
January 2025 in Date Slicer 2

Then, in my matrix, I want the column headers (measure names) to dynamically show the selected dates — i.e. the headers should display:

| Category | Oct-25 | Jan-25 |
| A | 123 | 456 |
| B | 789 | 321 |

Basically, I want my measure headers to change dynamically based on the selected dates from both slicers.

Can anyone please suggest how to achieve this?

  • Mahendra_k , Power BI currently does not support dynamic column headers in matrix visuals out of the box — especially for measure names in the Values section. The column headers for measures are static and tied to the measure names, so they won't automatically reflect slicer selections like dates.

     

     

3 Replies

  • Mahendra_k , Power BI currently does not support dynamic column headers in matrix visuals out of the box — especially for measure names in the Values section. The column headers for measures are static and tied to the measure names, so they won't automatically reflect slicer selections like dates.

     

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Mahendra_k ,

     

    Thank you Ahmedx  for the response provided!


    Has your issue been resolved? If the response provided by the community member addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.


    Thank you for your understanding!