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
Hello. I am trying to create a chart that shows the Cumulative sum of Apps Created over time.
How can I do it with Dax query ?
So far, I created the below chart which gives the Count of Apps created particular month !
Kindly let me know how to create and plot the Cumulative sum of Apps Created over time.
Solved! Go to Solution.
Hi @Anonymous
PLease try
Cumulative Sum =
VAR CurrentDtate =
MAX ( 'App'[admin_appcreatedon] )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'App'[admin_appid] ),
'App'[admin_appcreatedon] <= CurrentDtate,
'App'[admin_appdeleted] = "True",
ALL ( 'App' )
)
HI @Anonymous
PLease try
Cumulative Sum =
VAR CurrentDate =
MAX ( 'App'[admin_appcreatedon] )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'App'[admin_appid] ),
'App'[admin_appcreatedon] <= CurrentDate,
ALL ( 'App' )
)
Hello @tamerj1 ,
Thank you for responding. I did try the code, but something is not matching with Values.
How to exclude values from Table 'App' where admin_appdeleted is equal to true from the below code ?
Cumulative Sum =
VAR CurrentDtate =
MAX ( 'App'[admin_appcreatedon] )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'App'[admin_appid] ),
'App'[admin_appcreatedon] <= CurrentDtate,
ALL ( 'App' )
)
Hi @Anonymous
PLease try
Cumulative Sum =
VAR CurrentDtate =
MAX ( 'App'[admin_appcreatedon] )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'App'[admin_appid] ),
'App'[admin_appcreatedon] <= CurrentDtate,
'App'[admin_appdeleted] = "True",
ALL ( 'App' )
)
From where did you get admin_appdeleted column? it wasn't mentioned in the original post or am I missing something
@Fahad12
Perhaps I got it through mail or private message or sometimes I connect with the post owner via teams or zoom. To be honest, I don't remember 🙂
@Anonymous , You need to create a measure like
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |