Forum Discussion

jp2020's avatar
jp2020
Helper I
5 years ago
Solved

Cumulative Running Total Issue with Legend

Hi all,   I have a cumulative column working using quick measure:   Cumulative Amount= CALCULATE ( SUM('Table'[Amount] ), FILTER (ALLSELECTED('Table'), 'Table'[ORDER_DATE] <= MAX( 'Table'[ORD...
  • amitchandak's avatar
    5 years ago

    jp2020 , Try if this can help

    Cumulative Amount= CALCULATE (
    SUM('Table'[Amount] ),
    FILTER (ALLSELECTED('Table'),'NT Transactions'[Client_Type] =max('NT Transactions'[Client_Type] ) &&
    'NT Transactions'[ORDER_DATE] <= MAX( 'NT Transactions'[ORDER_DATE] )
    )
    )