Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 111 | |
| 48 | |
| 30 | |
| 28 |