Forum Discussion

MikeDubya's avatar
MikeDubya
Icon for Helper I rankHelper I
3 years ago

Reverse Cumulative sum issues

I have a calculated column that performs a reverse cumulative total. Without adding the reverse cumulatative column, I have a list of dates and whether a pilot landed during the day.  

When I add my Reverse Column, it adds dates with blank LNDG Day and places the total in the Reverse Column:

Here is my Dax Code:

Reverse Cumulative Total =
CALCULATE(
    SUM(Pilot[LNDG Day]),
    FILTER(ALL(Pilot[Depart Date (Z)]), Pilot[Depart Date (Z)] >= MIN(Pilot[Depart Date (Z)])))
 
What am I missing in my DAX code that would prevent the "12's" from showing up? Clearing I just want the 0, 0, 1, 3, not 0, 12, 0, 12, 1, 12, 12, 3 (from bottom up).
 
TIA!

1 Reply