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
Qotsa
Helper V
Helper V

Quarter Number & Year Number column ordering in a Matrix table

Hi,

 

I have this calculated column 

Quarter & Year = 'Calendar'[Date].[Quarter] & " " & 'Calendar'[Date].[Year].
 
It returns Qtr 1 2019, Qtr 2 2019 etc...
 
When I put this as the column in a matrix table it orders them Qtr 1 2019, Qtr 1 2020 etc...
 
Is there a way to order Qtr 1 2019, Qtr 2 2019 etc...quarter.jpg 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Create a new column

Quarter & Year Sort = 'Calendar'[Date].[Year] & " " & 'Calendar'[Date].[Quarter] and set it as sort column

 

Sort_by_column.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

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

View solution in original post

4 REPLIES 4
VasTg
Memorable Member
Memorable Member

@Qotsa 

 

Use SORT BY column option to sort your new column based on date or datekey(if you have)

Connect on LinkedIn
amitchandak
Super User
Super User

Create a new column

Quarter & Year Sort = 'Calendar'[Date].[Year] & " " & 'Calendar'[Date].[Quarter] and set it as sort column

 

Sort_by_column.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

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

Hi,

 

I used this solution and it did work to order my Quarters and years as you can see in this table. How can I customize it to display as shorter version of quarters/years? To display values like this "Q4 23; Q1 24; Q2 24; Q3 24 etc". Thank you!

Mk60_0-1746576409010.png

 

Yeah, that does the job. TY.

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