Reply
Partially syndicated - Outbound

My quarter column is not sorting from different years

I have a table column called quarter

Q1= April-Jun

Q2 = Jul-Sep

Q3 = Oct/Dec

Q4 = Jan/Mar

 

How do I work out how to order these against the correct years also?

 

daniellamoore29_0-1695741133226.png

 

3 REPLIES 3

Syndicated - Outbound

@Greg_Deckler I've done what you suggested and it shows ERROR.

 

When I transform my data and change my 'Year' column to date, it shows different values.

 

daniellamoore29_0-1695741909078.png

 

Greg_Deckler
Super User
Super User

Syndicated - Outbound

@daniellamoore29 Often you solve this by creating a sort by column that combines Year and Quarter like:

Year Quarter = [Year] * 10 + [Quarter]



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)