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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I would like to filter the running cumulative total based on categories. However, the general running cumulative total measure I use, does not appear to be filtering correctly. At the moment, my work around has been creating a CalculatedTable where I filter based on the category and then create a cumulative total measure on the filtered table. This returns the correct values. I do realize that for performance reasons this is definitely not the best way to go. Ideally, I should be able to take the following measure:
Solved! Go to Solution.
@arichard19 , Try like
Amount New = CALCULATE(
SUM('Sachposten'[Amount]),
FILTER(
Sachposten, Sachposten[Category II ] = "Current Liabilities" )
)
Amount running total in %Date =
CALCULATE(
[Amount New],
FILTER(
ALLSELECTED('Kalender'[%Date]),
ISONORAFTER('Kalender'[%Date], MAX('Kalender'[%Date]), DESC)
)
)
or
Amount running total in %Date =
CALCULATE(
SUM('Sachposten'[Amount]),
FILTER(
ALLSELECTED('Kalender'[%Date]),
ISONORAFTER('Kalender'[%Date], MAX('Kalender'[%Date]), DESC)
),
Sachposten, Sachposten[Category II ] = "Current Liabilities" )
Hi,
Share some data and show the expected result.
Hi @arichard19 ,
Try :
Amount running total in %Date =
IF(MAX(Sachposten[Category II ]) = "Current Liabilities",
CALCULATE(
SUM('Sachposten'[Amount]),
FILTER(
ALLSELECTED('Kalender'[%Date]),
ISONORAFTER('Kalender'[%Date], MAX('Kalender'[%Date]), DESC)
)
)
)
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@arichard19 , Try like
Amount New = CALCULATE(
SUM('Sachposten'[Amount]),
FILTER(
Sachposten, Sachposten[Category II ] = "Current Liabilities" )
)
Amount running total in %Date =
CALCULATE(
[Amount New],
FILTER(
ALLSELECTED('Kalender'[%Date]),
ISONORAFTER('Kalender'[%Date], MAX('Kalender'[%Date]), DESC)
)
)
or
Amount running total in %Date =
CALCULATE(
SUM('Sachposten'[Amount]),
FILTER(
ALLSELECTED('Kalender'[%Date]),
ISONORAFTER('Kalender'[%Date], MAX('Kalender'[%Date]), DESC)
),
Sachposten, Sachposten[Category II ] = "Current Liabilities" )
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!