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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
TRADER083
Helper II
Helper II

Line graph showing decrease in cumulative values as items are matured

Hi everyone, 

 

I have the following simplified raw data:

 

MaturityValue
2050-Jan 1
2055-Dec 5
2060-Mar 2

 

I would like to create a measure and a line chart (or column) that present the following modified data:

 

MaturityValue (sum where maturity is greater this date)
2050-Jan 8
2055-Dec 7
2060-Mar 2

 

Thank you,

2 ACCEPTED SOLUTIONS
zenisekd
Super User
Super User

If you want to create a column, you can use: 

Value (sum where maturity is greater this date) = CALCULATE( SUM('YourTableName'[Value]), FILTER( 'YourTableName', 'YourTableName'[Maturity] >= EARLIER('YourTableName'[Maturity]) ) )

If you want a measure, then use: 
Value (sum where maturity is greater this date) = CALCULATE( SUM('YourTableName'[Value]), FILTER( ALL('YourTableName'), 'YourTableName'[Maturity] >=
SELECTEDVALUE('YourTableName'[Maturity]) ) )

Kudos and mark as solution appreciated.

View solution in original post

ThxAlot
Super User
Super User

ThxAlot_0-1704223025528.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



View solution in original post

3 REPLIES 3
ThxAlot
Super User
Super User

ThxAlot_0-1704223025528.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Thank you. For my dataset, the calculation on this measure was much faster than the other solution.

zenisekd
Super User
Super User

If you want to create a column, you can use: 

Value (sum where maturity is greater this date) = CALCULATE( SUM('YourTableName'[Value]), FILTER( 'YourTableName', 'YourTableName'[Maturity] >= EARLIER('YourTableName'[Maturity]) ) )

If you want a measure, then use: 
Value (sum where maturity is greater this date) = CALCULATE( SUM('YourTableName'[Value]), FILTER( ALL('YourTableName'), 'YourTableName'[Maturity] >=
SELECTEDVALUE('YourTableName'[Maturity]) ) )

Kudos and mark as solution appreciated.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

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.