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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello. I am a new user of PowerBI and I am still learning.
I have a database like this
| Platform | Department | Year | Quarter | Value |
| 1 | A | 2020 | 1 | 10 |
| 1 | B | 2020 | 1 | 15 |
| 1 | C | 2020 | 1 | 17 |
| 1 | D | 2020 | 1 | 28 |
| 1 | A | 2020 | 2 | 62 |
| 1 | B | 2020 | 2 | 7 |
| 1 | C | 2020 | 2 | 65 |
| 1 | D | 2020 | 2 | 45 |
| 1 | A | 2020 | 3 | 89 |
| 1 | B | 2020 | 3 | 14 |
| 1 | C | 2020 | 3 | 23 |
| 1 | D | 2020 | 3 | 52 |
| 1 | A | 2020 | 4 | 78 |
| 1 | B | 2020 | 4 | 12 |
| 1 | C | 2020 | 4 | 5 |
| 1 | D | 2020 | 4 | 41 |
And I need to calculate the aggregated value up until each quarter.
Any idea how can I do that?
Solved! Go to Solution.
Hi @Anonymous ,
Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Quarter]<=MAX('Table'[Quarter])&&[Year]<=MAX('Table'[Year])))
If you are still confused about it, please provide me with more details about your problem.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Quarter]<=MAX('Table'[Quarter])&&[Year]<=MAX('Table'[Year])))
If you are still confused about it, please provide me with more details about your problem.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
https://www.dropbox.com/s/2omqqp1g1ht8rb6/amrm.pbix?dl=0
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!