Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I have the following simplified raw data:
| Maturity | Value |
| 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:
| Maturity | Value (sum where maturity is greater this date) |
| 2050-Jan | 8 |
| 2055-Dec | 7 |
| 2060-Mar | 2 |
Thank you,
Solved! Go to Solution.
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.
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.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 76 | |
| 52 | |
| 51 | |
| 46 |