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
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

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.