Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Quarter to date calculations

Hello. I am a new user of PowerBI and I am still learning.

I have a database like this

PlatformDepartmentYearQuarterValue
1A2020110
1B2020115
1C2020117
1D2020128
1A2020262
1B202027
1C2020265
1D2020245
1A2020389
1B2020314
1C2020323
1D2020352
1A2020478
1B2020412
1C202045
1D2020441

And I need to calculate the aggregated value up until each quarter.

 

Any idea how can I do that?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Quarter]<=MAX('Table'[Quarter])&&[Year]<=MAX('Table'[Year])))

Screenshot 2021-07-20 162009.png

 

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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Measure = CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),[Quarter]<=MAX('Table'[Quarter])&&[Year]<=MAX('Table'[Year])))

Screenshot 2021-07-20 162009.png

 

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.

Jihwan_Kim
Super User
Super User

Picture1.png

 

https://www.dropbox.com/s/2omqqp1g1ht8rb6/amrm.pbix?dl=0 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Jihwan_Kim
Super User
Super User

Picture1.png

 

Link to the pbix file 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors