cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NewbieJono
Super User
Super User

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors