Forum Discussion

ankit48365's avatar
ankit48365
Regular Visitor
4 years ago
Solved

DAX Query for Running Total

Hi,   I created a simple view of 3 columns, (city name, date of completion for that city, a flag as 1 for filtering cities with completion date) like below now i created a measure (like a ne...
  • FarhanAhmed's avatar
    4 years ago

    Try This

    Measure = CALCULATE(SUM(MYVIEW[FLAG]), FILTER(ALL(MYVIEW),MYVIEW[COMPLETIONDATE]<= MAX(MYVIEW[COMPLETIONDATE])))