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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
bourne2000
Helper V
Helper V

How to sort the date/Month column in the table?

Hi

 

I have below table

 

bourne2000_0-1667637154698.png

 

 

Column DM is date&Month.

 

I would like to visualize DM vs temp and year as a legend in the line graph. I sorted DM by Day column

 

bourne2000_1-1667637331141.png

 

I need to sort the date & month in the axis. It's not following the day order. Can anyone advise how to sort the axis based on days

2 REPLIES 2
mariussve1
Super User
Super User

You should have a year month column as int. And then use sort by function on this column

 

marius


Br
Marius
BI Fabrikken
www.bifabrikken.no
Bifinity_75
Solution Sage
Solution Sage

Hi @bourne2000 , try this: Select field DM, and Sort by date:

Bifinity_75_0-1667656060857.png

Best regards

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.