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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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