Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Customize header in matrix

I need to create a custom header in powerBI.

When the user selects for example Sniority banking M+3, it will show M(1), M+1, M+2, M+3 which are <= choice of the user:

 

 

I put a pbix file here https://drive.google.com/file/d/1DjzyP3qGLxCd93X_G77EeVWhe2nEqVVK/view?usp=drivesdk

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

    I just updated your report file with the below steps, you can get it from this link.

    1. Create a new calculated table with ID field

     

    Table = VALUES('Seniority banking'[id])

     

    2. Create a measure and create a slicer with the field ID from new table

     

    Measure 3 = IF(MAX('Seniority banking'[id])<=SELECTEDVALUE('Table'[id]),1,0)

     

    3. Apply the filter with Measure 3=1

    Best Regards

    Rena

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    I just updated your report file with the below steps, you can get it from this link.

    1. Create a new calculated table with ID field

     

    Table = VALUES('Seniority banking'[id])

     

    2. Create a measure and create a slicer with the field ID from new table

     

    Measure 3 = IF(MAX('Seniority banking'[id])<=SELECTEDVALUE('Table'[id]),1,0)

     

    3. Apply the filter with Measure 3=1

    Best Regards

    Rena