Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
If you want a running sum only within the month, wouldn't it be easier to use TOTALMTD() function ?
I do not know about the details of your project, but it seems to be the easiest way...
The formula you used is perfect when you need a running sum on all lines, but for monthly running sum the best is to use TOTALMTD or for quarter TOTALQTD...
Let us know if it suits your needs
Let us know
try like:
cum_tot =
CALCULATE (
[sum_trip_cost],
FILTER(
ALL(ff[Trip Date]),
ff[Trip Date] < MAX (ff[Trip Date] )
&& YEAR( ff[Trip Date]) = YEAR( MAX (ff[Trip Date] ))
&& MONTH( ff[Trip Date]) = MONTH( MAX (ff[Trip Date] ))
)
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |