Forum Discussion
Running Total / Cumulative Total
- 4 years ago
Hi Anonymous ,
As NickolajJessen says, you need to clear the filters for the entire table, not just column [ContactDate].
Measure = CALCULATE ( 'DW F_Drv_WQ_ValidatedOpsContacts'[IsContact_count], FILTER ( ALL ( 'DW F_Drv_WQ_ValidatedOpsContacts' ), 'DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate] <= MAX ( 'DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate] ) ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , is [IsContact_count] is measure ? if yes share calculation
Also month yesr column should come from F_Drv_WQ_ValidatedOpsContacts
best to use date table
Try like
CALCULATE(Sumx(values('DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate]) , 'DW F_Drv_WQ_ValidatedOpsContacts'[IsContact_count]) ,
FILTER(ALL('DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate]),
'DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate] <= MAX('DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate])))
or
CALCULATE([IsContact_count] ,
FILTER(ALL('DW F_Drv_WQ_ValidatedOpsContacts),
'DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate] <= MAX('DW F_Drv_WQ_ValidatedOpsContacts'[ContactDate])))