This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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 :
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 25 | |
| 21 | |
| 18 | |
| 17 |
| User | Count |
|---|---|
| 62 | |
| 34 | |
| 33 | |
| 25 | |
| 24 |