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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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