Forum Discussion
Cumulative Sum
- 10 years ago
I had a similar issue, and would suggest a small modification:
1. Add a slicer on field (choose a filed in your table)
2. Cumulative Employers = CALCULATE(sum('I Employers'[Employer Count]),(FILTER(ALL('I Employers'[Date Created]), 'I Employers'[Date Created] <= "2020-12"), VALUES(field)))
Hi Spence_g
I suggest two ways for you.
1. Use the original measure without creating calculate measure, then u could apply the visual level filter as
"'I Employers'[Date Created]" and choose year should greater or less then which u want.
2. Cumulative Employers = CALCULATE(sum('I Employers'[Employer Count]),(FILTER(ALL('I Employers'[Date Created]),
Year('I Employers'[Date Created]) >= 2001 ))) -- Here change the year whatever you want.
it will work , check it if not let me know i will be assist u .....