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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sa34techer
Helper II
Helper II

Custom Quarter Date Column in Chronological order

I created a calendarauto(6) fiscal dax date table with a custom column --> FY Q YYYY = IF(MONTH('FY Calender'[Date])>6,"FY "&FORMAT(EDATE('FY Calender'[Date], -6),"\QQ")&" "&YEAR('FY Calender'[Date])&"-"&YEAR('FY Calender'[Date])+1,"FY "&FORMAT(EDATE('FY Calender'[Date], -6),"\QQ")&" "&YEAR('FY Calender'[Date])-1&"-"&YEAR('FY Calender'[Date])).

 

The FY Q YYYY column is sorting like this:

sa34techer_1-1730378732726.png

 

 

 

 

How to sort the FY Q YYYY fiscal chronological order like this below?

FY Q2 2024-2025

FY Q1 2024-2025

FY Q4 2023-2024

FY Q3 2023-2024

FY Q2 2023-2024
FY Q1 2023-2024

FY Q4 2022-2023

FY Q3 2022-2023

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

add this column to your calendar table

 

QNo = FORMAT([Date],"yyyyq")

 

Then sort your FY Q YYYY column by that column.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

add this column to your calendar table

 

QNo = FORMAT([Date],"yyyyq")

 

Then sort your FY Q YYYY column by that column.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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