Forum Discussion
Summing a Daily Measure by Month or Year
- Anonymous5 years ago
Allisond
Do you mean cumulative total of the daily values by month? Try something like:Measure = calculate(sum([value]), filter(allselected(date),[date].[month.no]=max([date].[month.no]) && [date]<=max([date]))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
5 Replies
- jdbuchanan71
Super User
Try adding a new measure that uses SUMX and see if that works.
Census SUM = SUMX( Dates[DayDate], [Census] )- Allisond
Advocate II
Won't let me set it up. SUMX is requiring a table, so I added the table then column, but in adding the Census Measure just errors altogether.
- Allisond
Advocate II
I can use SUMX(Values('Table'[Census]) which does give me a daily value filterable by unique center, date, etc. but I can't figure out how to add the daily values to get a monthly total in a measure.