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 tried a few of the standard methods for running totals, though I have multiple pieces of data on the same date that I need to account for individually -
The following did not work, nor did the creation of an index to accomplish a similar goal
IE a column in row 1 would read 30,000, row 2 would read 60,000, row 3 would read 90,000, row 4 would read
Not sure if i am able or how to adjust the formula to appropriately see a running total that would reset with each change in port.
Thank you!
Solved! Go to Solution.
Hi @jetsger - Create a below measure that will calculate a running total that resets for each port.
Running Total =
VAR CurrentPort = MAX('Full Data'[Port])
VAR CurrentArrival = MAX('Full Data'[Arrival])
VAR CurrentVessel = MAX('Full Data'[Vessel])
RETURN
CALCULATE(
SUM('Full Data'[DataColumn1]) + SUM('Full Data'[DataColumn2]) + SUM('Full Data'[DataColumn3]),
FILTER(
ALL('Full Data'),
'Full Data'[Port] = CurrentPort &&
'Full Data'[Arrival] <= CurrentArrival &&
'Full Data'[Vessel] <= CurrentVessel
)
)
Hope it helps
Proud to be a Super User! | |
Thank you for your help - this is fantastic!
Hi @jetsger - Create a below measure that will calculate a running total that resets for each port.
Running Total =
VAR CurrentPort = MAX('Full Data'[Port])
VAR CurrentArrival = MAX('Full Data'[Arrival])
VAR CurrentVessel = MAX('Full Data'[Vessel])
RETURN
CALCULATE(
SUM('Full Data'[DataColumn1]) + SUM('Full Data'[DataColumn2]) + SUM('Full Data'[DataColumn3]),
FILTER(
ALL('Full Data'),
'Full Data'[Port] = CurrentPort &&
'Full Data'[Arrival] <= CurrentArrival &&
'Full Data'[Vessel] <= CurrentVessel
)
)
Hope it helps
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 |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |