Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Cumulative total is not working

I am using the above Query still I can see the count of that particular month in the bar graph, but it is not cumulating current month  to next month.  Cumul =CALCULATE ( SUM(('DimApproved'[Exception...
  • Greg_Deckler's avatar
    6 years ago

    @v-saibol You may try:

    =
    VAR __Max = MAX ( 'DimTime'[Date] )
    RETURN
    CALCULATE ( SUM(('DimApproved'[ExceptionCount])), FILTER (ALL('DimTime'[Date]),'DimTime'[Date]<= __Max))

    Otherwise, see if the built-in Total fast running measure helps.