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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear games Master,
I have a matrix table with the followng layers
Fiscal Year
Fiscal Month
Team
I have the Colum Cost which i am looking to do a cumulative calculate against the above structure
First Direction i wen tin was :
Solved! Go to Solution.
I could not get yours to work, the fiscal month and Year are on the calender table when i replaced them it moaned, but it did get me going and i got this to work
Cumulative =
CALCULATE
(
SUM
('All Teams'[Cost]),
FILTER
(
ALL
('All Teams'), 'All Teams'[Date From] <=
MAX
('All Teams'[Date From])))
thansk for your assistance
Hi @jimmy7377
Can you please try the below DAX? If the below code not work, please keep me posted
Cumulative Cost =
VAR CurrentMonth = MAX('All Teams'[Fiscal Month])
VAR CurrentYear = MAX('All Teams'[Fiscal Year])
RETURN
CALCULATE(
SUM('All Teams'[Cost]),
FILTER(
ALL('All Teams'),
'All Teams'[Fiscal Year] = CurrentYear &&
'All Teams'[Fiscal Month] <= CurrentMonth
)
)
Proud to be a Super User! | |
I could not get yours to work, the fiscal month and Year are on the calender table when i replaced them it moaned, but it did get me going and i got this to work
Cumulative =
CALCULATE
(
SUM
('All Teams'[Cost]),
FILTER
(
ALL
('All Teams'), 'All Teams'[Date From] <=
MAX
('All Teams'[Date From])))
thansk for your assistance
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |