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
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
CheenuSing
Community Champion
Community Champion

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

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!
v-ljerr-msft
Employee
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
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.