Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Difference per cumulative amount

Hi,    I calculate the difference saldo per month? I only have now the cumulative total saldo per month. This value increases. Thanks, Leon
  • v-cherch-msft's avatar
    v-cherch-msft
    7 years ago

    Hi Anonymous 

    Please check below formula to get last saldo.

    Column =
    CALCULATE (
        SUM ( Table1[Saldo] ),
        FILTER (
            Table1,
            Table1[Cat] = EARLIER ( Table1[Cat] )
                && Table1[Index]
                    = EARLIER ( Table1[Index] ) - 1
        )
    )
    

    Regards,