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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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