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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.