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

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.

Reply
themistoklis
Community Champion
Community Champion

Cumulative Values using Power Query and having a Date Restriction

I have the following table and i would like to caclulate running totals using Power Query.

IDValueDateMax Date
A31221/01/201831/10/2018
A31310/02/201831/10/2018
A31615/03/201831/10/2018
A32110/01/201831/12/2018
A32914/02/201831/12/2018
A32626/03/201831/12/2018

 

I want the running total to run up to the Date specfified by the Max Date field.

The output table based on the above data will look like this. I know how to do this on DAX but I want this the same output using Power Query:

 

MonthIDCumulative Values
Jan-18A312
Feb-18A315
Mar-18A3111
Apr-18A3111
May-18A3111
Jun-18A3111
Jul-18A3111
Aug-18A3111
Sep-18A3111
Oct-18A3111
Nov-18A310
Dec-18A310
Jan-18A321
Feb-18A3210
Mar-18A3216
Apr-18A3216
May-18A3216
Jun-18A3216
Jul-18A3216
Aug-18A3216
Sep-18A3216
Oct-18A3216
Nov-18A3216
Dec-18A3216
1 REPLY 1
Aron_Moore
Solution Specialist
Solution Specialist

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.