Forum Discussion

non23's avatar
non23
Icon for Helper I rankHelper I
2 years ago
Solved

Do not repeat values (measure) in Matrix

Hi everyone,   Is there a way to avoid repetition of values (Measure) in Matrix? 2nd view is the one I want to achieve.
  • bhanu_gautam's avatar
    2 years ago

    non23 , Create a new measure for this using rank

     

    Units_Display =
    IF (
    ISINSCOPE('YourTable'[Size]),
    IF (
    RANKX(
    ALLSELECTED('YourTable'[Size]),
    CALCULATE(SUM('YourTable'[Units (Measure)])),
    ,
    ASC,
    DENSE
    ) = 1,
    SUM('YourTable'[Units (Measure)]),
    BLANK()
    ),
    SUM('YourTable'[Units (Measure)])
    )

     

    Instead of Unit(Measure)  use this in matrix view