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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors