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

Sum values based on Quarter dates

Hi,

 

Im a bit stuck with how to sum the month values on a quarterly basis. I have the follwing table

 

Entity IDDate_MonthValue_MonthDate_QuarterValue_Quarter
1Jan-19150  
2Feb-19200  
3Mrt-19250Mrt-19600
4Apr-19

125

  
5Mei-19

175

  
6Jun-19200Jun-19500

 

My question is:

1) How to sum the month values on a quarterly basis in column Value_Quarter

2) How to add the Quarter Dates as a text in the column Date_Quarter

 

Thank you for your help

 

Kind regards, Peter Brom

 

 

 

3 REPLIES 3
Anonymous
Not applicable

Thank you all.

 

Much appriciated.

amitchandak
Super User
Super User

@Anonymous , we usually create a date table and Qtr there and use that to Aggerate values there

Qtr Year = "Q" & QUARTER('Date'[Date]) & " - " & YEAR('Date'[Date]) 
Qtr Year Sort = FORMAT('Date'[Date],"YYYYQ")
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
mahoneypat
Microsoft Employee
Microsoft Employee

Does your model have a Date table?  If not, that is the best way to accomplish this.  Please see this article - https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

 

Once you have a Date table with a relationship to your initial table, you can just add the Quarter field to your table/matrix and your measure will automatically calculate that value.

 

If this works for you, please mark it as solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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