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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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