Forum Discussion
gbarr12345
2 years agoPost Prodigy
Cumulative Total query
Hi, I have data that I've been asked to include a cumulative total beside. All the data is from the 1st day of various months: However when I add the cumulative total, it puts...
- 2 years ago
Try this, and let me know if there are any problems:
Depletion Cumulative Total =
IF ( NOT ISBLANK(SUM(Depletion[9LE])),
CALCULATE(
SUM(Depletion[9LE]),
FILTER(
ALLSELECTED(Dim_Date[Date]),
Dim_Date[Date] <= MAX(Dim_Date[Date])
)))
gbarr12345
2 years agoPost Prodigy
Hi,
Thank you for your response.
I tried this but it doesn't seem to work:
ahadkarimi
2 years agoSolution Specialist
Try this, and let me know if there are any problems:
Depletion Cumulative Total =
IF ( NOT ISBLANK(SUM(Depletion[9LE])),
CALCULATE(
SUM(Depletion[9LE]),
FILTER(
ALLSELECTED(Dim_Date[Date]),
Dim_Date[Date] <= MAX(Dim_Date[Date])
)))
- gbarr123452 years agoPost Prodigy
That worked, thank you so much!
- ahadkarimi2 years agoSolution Specialist
My pleasure!