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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
NewbieJono
Post Partisan
Post Partisan

Sort Date table by column

i am trying to sort my short month col in chronilogical order. when i sort by year month interger i am getting this?

 

Capture.PNG

 

6 REPLIES 6
Alf94
Super User
Super User

Hi @NewbieJono,

 

Try using your column "MonthNo" instead of your column "YearMonthInt" to sort the "Month Name" column.

 

If I answered your question, please mark my post as a solution.

 

Best,

when i use month number and i want to show Nov - Apri, it shows Jan Feb Mar Apr Nov Dec

Can you please share more details about how you created your date table and then what you want to display? Your first point was only about sorting your month column in chronological order.

date table was created in dax, i just want to be able to display my months in order e.g Nov 2022, Dec 2022, Jan 2023, Feb 2023.

 

i think i used somehting before where i would sort by a unique interger but i not sure how i done this!

From what I understand you can use your "MonthYear" column sorted by your "YearMonthInt" column.

The month year charting is fine, i just want to display the month in short text but this happensCapture.PNG

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.