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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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