Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Create a custom matrix table based on another matrix table

Hello I created an array table like this: Now, I'd like to use the values and apply a formula. Then display this in another matrix table with the same column name and row name. For exampl...
  • v-easonf-msft's avatar
    6 years ago

    Hi , Anonymous 

    You can also create a calculated column. Something like that:

    pbix attached

     

    Value3 =
    VAR val =
        SUM ( 'Table'[Value] )
    VAR Next_value =
        CALCULATE (
            MAX ( 'Table'[Value] ),
            'Table',
            'Table'[Category] = EARLIER ( 'Table'[Category] ),
            'Table'[Date]
                = EARLIER ( 'Table'[Date] ) + 1
        )
    RETURN
        Next_value * 100 / 'Table'[Value] - 100

     

    Best Regards,
    Community Support Team _ Eason
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.