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
I've been trying this for several days in different configurations: CALCULATE, SUMX, using EARLIER/EARLIEST, with and without variables, ALL and without ALL, but nothing works. I've searched dozens of forum answers and YouTube videos. It seems so simple; maybe someone here can tell me what I missed:
The CA Running Totals should be :
...but they are not, and I am sad. Any help is greatly appreciated!!
Solved! Go to Solution.
Solution was silly: had to set the CA Running Total field to Don't Summarize. Sorry for the bother!
Solution was silly: had to set the CA Running Total field to Don't Summarize. Sorry for the bother!
If it helps here's a snapshot of part of the source data:
What I need for each row is the total of all values with the same Control Account, Cost Set, Results, and a date <= to the Date.
Hi,
Is there a reason why common RT patterns like (measure):
Var _date = MAX('Calendar'[Date]) return
CALCULATE(SUM(Cap[Value]),ALL('Calendar'),'Calendar'[Date]<_date)
For column:
Don't work here?
Proud to be a Super User!
Tried it that way just in case I missed something; no luck:
The Cost Set, Control Account, and Results columns all have multiple values that must be filtered before summing the total value for that row.
Hello there @echristoph ! Can you check if this works for you?
CA Running Total =
VAR CurDate = [Date]
RETURN
CALCULATE (
SUMX (
FILTER (
SUMMARIZE (
ALL ( CAP ),
CAP[Control Account],
CAP[Cost Set],
CAP[Results],
CAP[Date],
"Sum", SUM ( [Your_sum_field] )
),
CAP[Date] <= CurDate
),
[Sum]
)
)
Hope this answer solves your problem!
If you need any additional help please @ me in your reply.
If my reply provided you with a solution, please consider marking it as a solution ✔️ or giving it a kudoe 👍
Thanks!
You can also check out my LinkedIn!
Best regards,
Gonçalo Geraldes
Looked promising, but no luck:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |