Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I have application counts grouped by each hour. I would like to have a running total of the applications each day. In other words I want to sum the applications and have it reset for the next day.
The runningtotal is adding up but I need it to reset on each new day.
This is the dax expression for the runningtotal column :
Solved! Go to Solution.
Hi @Anonymous
Maybe you can add a calculated column FLA[Date] which is equal to ApplicationHourEST but is only a date and note a datetime.
And then I think the following measure will answer your need :
try the following code:
RunningTotal =
VAR _Date =
DATE ( YEAR ( FLA[ApplicationHourEST] ), MONTH ( FLA[ApplicationHourEST] ), DAY ( FLA[ApplicationHourEST] ) )
RETURN
CALCULATE (
SUM ( 'FLA'[ApplicationCount] ),
FILTER (
ALL ( FLA ),
FLA[ApplicationHourEST] <= EARLIER ( FLA[ApplicationHourEST] )
&& FLA[ApplicationHourEST] = _Date
)
)
Proud to be a Super User!
Paul on Linkedin.
try the following code:
RunningTotal =
VAR _Date =
DATE ( YEAR ( FLA[ApplicationHourEST] ), MONTH ( FLA[ApplicationHourEST] ), DAY ( FLA[ApplicationHourEST] ) )
RETURN
CALCULATE (
SUM ( 'FLA'[ApplicationCount] ),
FILTER (
ALL ( FLA ),
FLA[ApplicationHourEST] <= EARLIER ( FLA[ApplicationHourEST] )
&& FLA[ApplicationHourEST] = _Date
)
)
Proud to be a Super User!
Paul on Linkedin.
Hi @Anonymous
Try the following measure :
Hi Antoine,
I get this error: The VALUES function expects a column reference expression or a table reference expression for argument '1'.
Hi @Anonymous
Maybe you can add a calculated column FLA[Date] which is equal to ApplicationHourEST but is only a date and note a datetime.
And then I think the following measure will answer your need :
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |