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 there!
I have been trying to calculate a Running Total until yesterday using the following formula:
Total Until Yesterday = CALCULATE(sum('Table'[Table]), DATESBETWEEN(Datetable[Date], "1-jan-2015", today()-1 ))
This works out fine, it gives back the total number until yesterday. My problem now is: once I try to stretch it over time (adding "date" as the axis), it spreads the Total number unti yesterday over the entire time span of the date table, attributing the same value to each day (which is the total of yesterday).
What I want to achieve is getting back the accurate value of sign ups every day since the counting started. Can anybody help with that?
Cheers!
Hi @Eric667,
can you provide me an example dataset? Because I tried with a dummy dataset and I obtained a correct chart with the ability to drill down the date hierarchy.
#I'M Not An Expert#
Hi @Anonymous, thanks for trying! I will see if i can draw a sample with the same characteristics. May I ask if you used the formula I wrote here?
Yes, I've used your formula.
Bump.
I do not have the answer but would like to see what input everyone else offers as this is a great question.
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |