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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
snamhoang
New Member

[Help] Reverse Cumulative Total

Hi Guys,

Im trying to created a reverse comulative column on the right side but I want it to start from smallest as to day and become bigger when looking back to the past.
E.g. (increase from top to bot)
1.png

anyone has good solution for this? as I can only create the acumulation from 3 -> 10 (date), not from 10->3 (date)

 

2 REPLIES 2
Anonymous
Not applicable

Hi @snamhoang

 

Please go through a solution atuhored by me.

 

http://community.powerbi.com/t5/Desktop/quot-Inverse-quot-Cumulative-Sum/m-p/72644#M30130

 

If this works for you please accept it as a solution and also givee KUDOS.

 

Cheers

 

CheenuSIng

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @snamhoang,

 

According to your description above, you should be able to use the formula below to create a calculate column to get the cumulation from 10->3 (date).Smiley Happy

Cumulation Column = 
VAR currentDate = Table1[date]
RETURN
    CALCULATE (
        SUM ( Table1[item] ),
        FILTER ( ALL ( Table1 ), Table1[date] >= currentDate )
    )

c1.PNG

 

Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.