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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
aishak12
Helper IV
Helper IV

Add Quarters to Matrix Table

I am currently using a Matrix Visual with Individual Queries for my Values. Then for my columns I have a date format. Is there any way to total the individual Quarters.

 

For example have new column's be created showing:

- Total Quarter 1 (January + February +  March) 

- Total Quarter 2 (April + May + June)

- Total Quarter 3 ( July + August + Sept) 

 

aishak12_1-1603826610995.png

 

 

aishak12_0-1603826417895.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @aishak12 ,

 

If you have a Date column in your table, you may add it to the columns in the matrix and select quarter in Date Hierarchy.

9.png

8.png

 

 

 

If you don't have a date column, you may create a separate table as follows.

Quarter

Qtr 1
Qtr 2
Qtr 3
Qtr 4

 

Then create a measure which will be put into Values in the matrix with SWITCH or IF to make the value of each quarter correspond to your Qtr1, Qtr2, Qtr3 and Qtr4.

 

Just like:

Measure = SWITCH(MAX('Table (2)'[Quarter]),"Qtr 1",CALCULATE(SUM('Table'[Values]),FILTER('Table',[Month]="January"&&[Month]="February".....
 
 
 

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.

lbendlin
Super User
Super User

Your data model should contain a calendar table. Use the Quarter column from there.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.