Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
hemann
Helper I
Helper I

Cumulative Sales by month 1, 2, 3 etc

Hi All, 

I have the below Product Sales data that looks like below when summarised in a table in desktop. I want to cumulative sum the sales by month 1, 2, 3 etc (refer desired result). Does anybody have a DAX solution they can suggest. 

 

Current State 

DateProduct AProduct B Product C
31/10/2014 242 
30/11/2014 100 
31/12/2014 300 
31/01/20151500 
28/02/201511000 
31/03/201511472 
30/04/20151946 
30/11/20161066 
31/12/20162032 
31/01/20171537294
28/02/20175643129
31/03/201774832204
30/04/201747530354
31/05/20174020429
30/06/201775119454
31/07/201769715885
31/08/2017738251325
30/09/2017123720419

 

Desired Result

DateProduct AProduct B Product C
Month 112424
Month 2234233
Month 33642237
Month 441142591
Month 51421421020
Month 63436141474
Month 7157145602359
Month 8213546263684
Month 9288346584103
Month 10335846874103
Month 11339847184103
Month 12414947504103
Month 13484647804103
Month 14558448004103
Month 15682148194103
Month 16682148344103
Month 17682148594103
Month 18682148794103
1 ACCEPTED SOLUTION
Cookistador
Super User
Super User

Hi @hemann 

 

Please find another workaround which works in Power Query

All the steps can be checked

If you need more help, do not hesistate to ask for some support

This is the final result I get:

Cookistador_0-1754290698391.png

View solution in original post

4 REPLIES 4
Cookistador
Super User
Super User

Hi @hemann 

 

Please find another workaround which works in Power Query

All the steps can be checked

If you need more help, do not hesistate to ask for some support

This is the final result I get:

Cookistador_0-1754290698391.png

Thanks some of the power query logic was also useful 

ryan_mayu
Super User
Super User

@hemann 

you can do the data transform in PQ then use DAX to get the output. 

11.png

pls see the attachment below

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




rajendraongole1
Super User
Super User

Hi @hemann  - please find the attached pbix file. check the output as expected. 

 

rajendraongole1_2-1754289711789.png

 

 

rajendraongole1_1-1754289594408.png

 

Hope this helps.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.