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
meddojeddo
Helper IV
Helper IV

How to sort dates chronologically AAS data source?

I am using an Azure Analysis Services data source and I have adate table with Month and MonthYear as columns. When I put this in a table, it sorts alphabetically. But there is a different fiscal period table where they are sorting chronologically. I don't know how this was set up in the Tabular model, but is there a way on the Power BI report that I can get the months to sort chronolically in the report without touching the Azure data model on the backend?

2 REPLIES 2
Anonymous
Not applicable

Hi @meddojeddo ,

What connection mode are you using to connect to Azure Analysis Services? If it is Import mode, you can refer to the following blogs to sort the dates chronologically.

How to sort months chronologically in Power BI

Power BI: Sorting by Month Chronologically Rather Than Alphabetically
If it is Connect live, if there is a month number column in the date table, use the Sort by column setting to see if you can achieve the correct sorting.

yingyinr_0-1633422014503.png

Best Regards

amitchandak
Super User
Super User

@meddojeddo , Do you have a column like YYYYMM. You can mark that as a sort column for the month year. But I doubt you have to do on AAS.

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

Helpful resources

Announcements
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!

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.

Top Solution Authors
Top Kudoed Authors