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
I have a table ‘Invoices’ which includes the [Date] of invoice (ex. 26/3/2022), the [Net Value] and I have created another two fields with the [Month] and the [Year] that I extract them from the invoice date. I have created the following matrix using:
The matrix is as shown in picture below.
I would like to use another column for each year that will show the sum of all months until that moment like the xls table bellow. The Sum column simply adds the Net Values of each month.
Is there any way to do so?
Solved! Go to Solution.
Hi @alexobip ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Sum = CALCULATE(SUM(Invoices[Net Value]),Invoices[Month]<=SELECTEDVALUE(Invoices[Month]))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @alexobip ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(2) We can create a measure.
Sum = CALCULATE(SUM(Invoices[Net Value]),Invoices[Month]<=SELECTEDVALUE(Invoices[Month]))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @alexobip,
You can use:
Cumulative = CALCULATE(SUM('Table'[Net Value]),FILTER(ALL('Table'),MONTH('Table'[Invoice Date])<MAX(MONTH('Table'[Invoice Date]))))
Works for you? Mark this post as a solution if it does!
Check out this blog of mine: How to Export Telemetry Data from Azure IoT Central into Power BI
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 |
|---|---|
| 53 | |
| 48 | |
| 38 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 79 | |
| 37 | |
| 27 | |
| 25 |