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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 59 | |
| 45 | |
| 19 | |
| 15 |