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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
Solution Supplier
Solution Supplier

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors