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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I'm trying to use SUMX to create a cumulative sum of a measure that counts the amount of distinct Projects.
Currently I have a distinct incomplete Project count measure:
Incomplete Projects =
For some reason my Cumulative Active Projects measure is not adding up over time. What am I doing wrong here?
Solved! Go to Solution.
Hi! You can use a running total through quick meausures, or use the below DAX:
Proud to be a Super User! | |
Hi! You can use a running total through quick meausures, or use the below DAX:
Proud to be a Super User! | |
Thank you @audreygerred, that worked perfectly. I'm still curious, though, why is my old measure not working?
No problem! SUMX is an iterator function so it completes the summing at each row, then sums those up for a total, but it is not meant for cumulative or running total - just a row and total. Here is a blog I recently wrote abot iterators: http://powerbiwithme.com/2023/11/01/the-iterator-edition/
Proud to be a Super User! | |
OK, when I looked up similar questions to mine I saw many people using SUMX. Thank you for the explanation!
Anytime! Thanks for asking!
Proud to be a Super User! | |