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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I am a beginner at DAX and could need some help...
I have created this code:
Solved! Go to Solution.
@Anonymous ,
Try a new measure on top of this using date table
Cumm = CALCULATE(SUMX(values('Date'[date]), [NrOfNegative]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Running Total/ Cumulative:
https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=42
You can also consider Window function
Continue to explore Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc
@Anonymous ,
Try a new measure on top of this using date table
Cumm = CALCULATE(SUMX(values('Date'[date]), [NrOfNegative]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
Running Total/ Cumulative:
https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=42
You can also consider Window function
Continue to explore Power BI Window function Rolling, Cumulative/Running Total, WTD, MTD, QTD, YTD, FYTD: https://youtu.be/nxc_IWl-tTc
Thank you! I tried your code but switched all to allselected and it worked! 🙂
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!