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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
abihoughton27
Helper I
Helper I

Date Table not sorting

I have created a date table for my benefits report and i have a column for which it will sort in FYmonth order 

abihoughton27_1-1634045321362.png

this is the relationship between the tables

 

abihoughton27_0-1634045302108.png

and when i use the date in a table it 1 doesn't sort in FY month sort and doesn't le me show item with no data?

abihoughton27_2-1634045401299.png

 

1 ACCEPTED SOLUTION
HarishKM
Memorable Member
Memorable Member

@abihoughton27 Hey Mate ,
You can create two Calculated col in your date tb.

Month Year = FORMAT(financials[Date],"Mmm-YY")
Then sort your month year using this month sort col.
HarishKM_0-1634048246801.png

Month sort = FORMAT(financials[Date],"yyyymmdd")

this will fulfil your requirement .
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.

Thanks and Regards,
Harish 

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi @abihoughton27 ,

 

Could you please share me with the expected output and your pbix file after removing sensitive data ?

 

Best Regards,
Eyelyn Qin

 

HarishKM
Memorable Member
Memorable Member

@abihoughton27 Hey Mate ,
You can create two Calculated col in your date tb.

Month Year = FORMAT(financials[Date],"Mmm-YY")
Then sort your month year using this month sort col.
HarishKM_0-1634048246801.png

Month sort = FORMAT(financials[Date],"yyyymmdd")

this will fulfil your requirement .
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.

Thanks and Regards,
Harish 

Applicable88
Impactful Individual
Impactful Individual

@abihoughton27 you didn'n sort correctly the monthname to your FYmonthSort. Shouldn't Jan be 1, Feb be2 and so fourth? 

@Applicable88  My financial month starts in may so i want that to be first - so it should be May - Jun 2 etc 

@abihoughton27 Whats happens when you use "sort after column"? Does it says that you have many to many relationship?

@Applicable88 where is sort after column? 

i have a many to one relationship 

Applicable88_0-1634046946321.png

Just click on your monthname column and tell it to "sorft after" the Monthnumbers.


I hope that solves your problem. 

Best. 

I have done that for my FY month sort because i want that to be the order? i am not sure what you mean?

there is no where in the image above which says sort after? 

i want to sort from the fiancial year month sort not from the normal calander month order 

The view I got from your screenshot actually. Its not in the PowerBi Report, but in the "Data" screen. That is the middle symbol on the left ribbon in PowerBi. Afterwards just select your table and click on the Monthname column, after wards click the button I showed you in the screenshot and say "sort after" Monthnumber column. Since your Monthnumber field is in the same table it should work. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.