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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
goaltender36
Helper I
Helper I

Cant get month name on line graph

Hello,

 

I need help! I have a simple date column (mm/dd/yyyy) from a spread sheet I loaded into Power BI Desktop. I have done a query edit and created a MONTH NUMBER column and MONTH NAME column. When I use Month Number it sorts it in proper order. When I use Month Name it sorts it alphabetically. How can I get it to sort the dates properly, Thank you!

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@goaltender36 In power bi desktop under Data view right click month number column and sort ascending. Then under modelling tab select month name column and click Sort By Column and select month number column. This willl sort month name column by number column on your visual.

 

Capture.PNG

View solution in original post

4 REPLIES 4
ankitpatira
Community Champion
Community Champion

@goaltender36 In power bi desktop under Data view right click month number column and sort ascending. Then under modelling tab select month name column and click Sort By Column and select month number column. This willl sort month name column by number column on your visual.

 

Capture.PNG

Thank you it worked!!!

ankitpatira
Community Champion
Community Champion

@goaltender36 In power bi desktop right click your month number column and Sort Ascending. Then select month name column adn under Modelling tab click Sort By Column and select month number column. This will sort your month name column by month number column.

Krunoslav123
Regular Visitor

Hi , i think that best solution is to create new Dimension Date and u nead to create new realation . DimDate - Your table 1 - m . 

 

Tip for creating Dimension Date Create Date Dim in Power Bi. There is also other solutions to create Date dim just google it .. 🙂 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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