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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
TRADER083
Helper I
Helper I

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors