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
Hi everyone !
I already made some research but what I found did not help me.
I want to have the cumulative sum for each month in a third column for actual year and in 4th column for last year.
The two first columns are built like this :
Solved! Go to Solution.
Hi @Anonymous ,
To calculate the cumulative total for the year try MEASURE.
Cumul AY =
CALCULATE(
Sum('COMPANY$Commision Entries'[Volume]),
FILTER(
ALL('COMPANY$Commision Entries'),
'COMPANY$Commision Entries'[Posting Date].[Date] <= MAX('COMPANY$Commision Entries'[Posting Date].[Date])
&& YEAR('COMPANY$Commision Entries'[Posting Date].[Date]) = YEAR(MAX('COMPANY$Commision Entries'[Posting Date].[Date]))
)
)
To calculate last year's cumulative total try MEASURE.
Cumul LY =
CALCULATE(
Sum('COMPANY$Commision Entries'[Volume]),
FILTER(
ALL('COMPANY$Commision Entries'),
'COMPANY$Commision Entries'[Posting Date].[Date] <= MAX('COMPANY$Commision Entries'[Posting Date].[Date])
&& YEAR('COMPANY$Commision Entries'[Posting Date].[Date]) = YEAR(MAX('COMPANY$Commision Entries'[Posting Date].[Date])) - 1
)
)
If these expressions do not give you the results you expect. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
To calculate the cumulative total for the year try MEASURE.
Cumul AY =
CALCULATE(
Sum('COMPANY$Commision Entries'[Volume]),
FILTER(
ALL('COMPANY$Commision Entries'),
'COMPANY$Commision Entries'[Posting Date].[Date] <= MAX('COMPANY$Commision Entries'[Posting Date].[Date])
&& YEAR('COMPANY$Commision Entries'[Posting Date].[Date]) = YEAR(MAX('COMPANY$Commision Entries'[Posting Date].[Date]))
)
)
To calculate last year's cumulative total try MEASURE.
Cumul LY =
CALCULATE(
Sum('COMPANY$Commision Entries'[Volume]),
FILTER(
ALL('COMPANY$Commision Entries'),
'COMPANY$Commision Entries'[Posting Date].[Date] <= MAX('COMPANY$Commision Entries'[Posting Date].[Date])
&& YEAR('COMPANY$Commision Entries'[Posting Date].[Date]) = YEAR(MAX('COMPANY$Commision Entries'[Posting Date].[Date])) - 1
)
)
If these expressions do not give you the results you expect. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |