Forum Discussion
justinbouchard
4 years agoFrequent Visitor
Running Total per category
Hello, I tried the steps outlined here but I'm still having trouble An example of my data is below. What I'm trying to do is make a running total of the applications we get from student...
- Anonymous4 years ago
Hi justinbouchard ,
Do you want to calculate the running total per app_term and based on date?
Try this code.
Measure = CALCULATE(SUM ( Sheet1[app number] ),FILTER(ALL(Sheet1),Sheet1[APP_TERM] = MAX(Sheet1[APP_TERM])&&Sheet1[Date Received]<=MAX(Sheet1[Date Received])))Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
4 years agojustinbouchard , If you need running total
with help from date table
Cumm = CALCULATE(Count(Table[Student ID]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
YTD
Cumm = CALCULATE(Count(Table[Student ID]),datesytd('Date'[date], "8/31"))
If you need Half year YTD or any term YTD refer this
Half Year Time Intelligence, Half Year Till date: https://youtu.be/fkm3Xvjcpl0