Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Cumulative area chart based on month name

Hi everyone,   I want to create a cumulative area chart based on month name instead of month number. Currently this is my working measure but how can I make it work using month name instead? It won...
  • parry2k's avatar
    6 years ago

    Anonymous you can also add month name column in ALL function

     

    Cumulative = 
    CALCULATE(
    SUM(Table1[Value]), 
    FILTER(
    ALL(
    Table1[Month Num], 
    Table[Month Name]
    ), 
    Table1[Month Num] <= MAX(Table1[Month Num])
    )
    )

     

    Would appreciate Kudos 🙂 if my solution helped. Ask anything Power BI. Book appointment for a free consultancy at https://www.perytus.com