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
Resolver V
Resolver V

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.

Top Solution Authors