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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
fleetingImage
New Member

Sort month name by month number

Hi,

 

I have this design in my dashboard:

 

fleetingImage_0-1606281365558.png

 

And I created a bar chart using "MonthText" as x axis label, the Y label and the value are both from the table data:

 

fleetingImage_1-1606281434609.png

fleetingImage_3-1606281724906.png

* The only two sorting options I have are these

 

 

I want the month names to be sorted by the month number ( Jan=1, Feb=2,...).  I've seen other posts that told you to go to table design and sort by month number (in my table, the field "Month"):

fleetingImage_2-1606281583467.png

I already did that but the chart still shows the months sorted alphabetically.

 

Any idea what else should I try?

 

Thanks!

 

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @fleetingImage ,

 

I assume that you "followed" this article: Sort by column in Power BI Desktop - Power BI | Microsoft Docs

Please report the version of Power BI Desktop.

 

You may consider to upload the pbix to onedrive or dropbox and share the link.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

6 REPLIES 6

@fleetingImage ,

 

I tried to recreate your scenario and I do get the desired output as shown below.

I sorted the MonthName column by MonthNumber.

Can you in any way share a pbix file with this chart and data, so that I can see in detail why it's not working.Capture.PNG

Hi Veen,

 

Could you attached your dummy pbix to see how mine is different?.  I cannot upload one....

amitchandak
Super User
Super User

@fleetingImage , You should make the month as sort column of month text

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

Sortnewribbion.png

TomMartens
Super User
Super User

Hey @fleetingImage ,

 

I assume that you "followed" this article: Sort by column in Power BI Desktop - Power BI | Microsoft Docs

Please report the version of Power BI Desktop.

 

You may consider to upload the pbix to onedrive or dropbox and share the link.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hey Tom,

 

I actually haven't read the article, it actually holds the answer for me, sorry but I'm completelly newby to PBI

 

Thanks!

Perfect!



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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