Forum Discussion

imranamikhan's avatar
imranamikhan
Icon for Helper V rankHelper V
5 years ago
Solved

Cumulative Measures Two Date Columns One Date Table

Hi everyone,   Table A has a column with Customer IDs and a Date column (Record Timestamp). This table is linked to a Date table.   Table B has column of Customer IDs and a Date column (Modified ...
  • imranamikhan's avatar
    5 years ago

    Thanks all. I just needed an example of applying the syntax - which I have now found.

    Cumulative Closed = CALCULATE (
    DISTINCTCOUNT(DB_CustomerMasterData_Current_Report[MDStatus]),USERELATIONSHIP(DB_CustomerMasterData_Current_Report[Market Feedback Modified Date], 'CalendarAuto'[Date]),
    FILTER (ALL('CalendarAuto'[Date]),
    ('CalendarAuto'[Date]) <= MAX ( 'CalendarAuto'[Date] )),DB_CustomerMasterData_Current_Report[Market Feedback Cleanse Status]="11. Closed")