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,
I need to produce a measure that's cumalative as per the weeks.
The summation needs to reset when the new year hits.
Any help would be appreciated.
Solved! Go to Solution.
Hi , I hope you are doing good!
Please try the below solution:
Cumulative Amount =
VAR CurrentYear = MAX('Table'[Year])
VAR CurrentWeek = MAX('Table'[Week])
RETURN
CALCULATE(
SUM('Table'[Amount]),
FILTER(
ALL('Table'),
'Table'[Year] = CurrentYear &&
'Table'[Week] <= CurrentWeek
)
)
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Let's Connect on LinkedIn: https://www.linkedin.com/in/anmol-malviya/?originalSubdomain=in
Subscribe my youtube channel for Microsoft Fabric and Power BI updates: https://www.youtube.com/@AnmolPowerBICorner
Hi , @sm1driver
You can also use Visual Level Calculation Running Sum formula
Go To Three dots in the visual and Select "new calculations" and use below formula
RUNNINGSUM([Amount], HIGHESTPARENT)
For more details check out this : https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-visual-calculations-overview
Thanks so much! Lifesaver!
Hi , I hope you are doing good!
Please try the below solution:
Cumulative Amount =
VAR CurrentYear = MAX('Table'[Year])
VAR CurrentWeek = MAX('Table'[Week])
RETURN
CALCULATE(
SUM('Table'[Amount]),
FILTER(
ALL('Table'),
'Table'[Year] = CurrentYear &&
'Table'[Week] <= CurrentWeek
)
)
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Let's Connect on LinkedIn: https://www.linkedin.com/in/anmol-malviya/?originalSubdomain=in
Subscribe my youtube channel for Microsoft Fabric and Power BI updates: https://www.youtube.com/@AnmolPowerBICorner
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |