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 Everyone,
I am trying to do a running sum by group in PowerBi DeskTop. Thank you.
Here is what my data looks like, I would like a running sum of the times in a new column.
Thank you all.
Solved! Go to Solution.
Hi @PeterChu
If you want to do it as a calculated column then please try this :
Running Total =
CALCULATE(
SUM(Table1[Times]),
FILTER(
'Table1',
'Table1'[MemberId]=EARLIER('Table1'[MemberId])
&& 'Table1'[Date] <= EARLIER('Table1'[Date])
)
)
thanks this formula worked. I saw a bunch of other threads for running total but this was the only one that got the desired result.....
Hi @PeterChu
If you want to do it as a calculated column then please try this :
Running Total =
CALCULATE(
SUM(Table1[Times]),
FILTER(
'Table1',
'Table1'[MemberId]=EARLIER('Table1'[MemberId])
&& 'Table1'[Date] <= EARLIER('Table1'[Date])
)
)
It's work. Thank you very much.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |