Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to calculate “Cumulative”

Hi everyone,  I've a calculated column named "WeekNum" that returns the number of week of a date and a measure named "Total Sellouts" that calculates total sellouts for each week.  The formula of t...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi there, I solved my problem.

     

    Cumulativo =
    SUMX (FILTER (ALLSELECTED ( 'MyTable'[WeeksNumber] ), 'MyTable'[WeeksNumber] <= MAX('MyTable'[WeeksNumber])), [SellOuts])