This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi all,
I've got three tables which all have daily dates with a value against them, I've also got a date table which has Month, Year, Month/Year etc. I've created three measures for these three tables to cumulatively sum the totals monthly which works fine when I use the below code but this doesn't allow my charts to look the way I want.
Cumulative sum of 24-25 =
CALCULATE(SUM('Historic_records 2024/25'[Sales 24/25]),
FILTER(ALL(Date_today), Date_today[Date]<=MAX(Date_today[Date])))
This is a basic representation of what I need the figures to do:
I've managed to produce this which shows the correct totals by changing the column references to Month instead of Date as shown in the formula below but it's sorting and adding the data by months alphabetically for the cumulative calculation which is no use to me. I need the data to run in month order (UK April to March which I have in my date table).
Solved! Go to Solution.
@samc_26 , Try using Fiscal month
DAX
Cumulative sum of 24-25 v3 =
CALCULATE(
SUM('Historic_records 2024/25'[Sales 24/25]),
FILTER(
ALL(Date_today),
Date_today[FiscalMonthNumber] <= MAX(Date_today[FiscalMonthNumber])
&& Date_today[Year] = MAX(Date_today[Year])
)
)
Proud to be a Super User! |
|
@samc_26 , Try using Fiscal month
DAX
Cumulative sum of 24-25 v3 =
CALCULATE(
SUM('Historic_records 2024/25'[Sales 24/25]),
FILTER(
ALL(Date_today),
Date_today[FiscalMonthNumber] <= MAX(Date_today[FiscalMonthNumber])
&& Date_today[Year] = MAX(Date_today[Year])
)
)
Proud to be a Super User! |
|
That was a lot more simple than I thought it was going to be 😁 Thank you very much, I should have tried that just didn't think!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 49 | |
| 47 | |
| 41 | |
| 21 | |
| 19 |