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
AndreasSc
Helper I
Helper I

Bar chart: sort date values

Hi together,

 

I have a bar chart with date values in the following format: 2020-January, 2020-February...

 

I want to sort the values with the months in the correct chronological way.

 

Unfortunately the data is sorted by the name of the regarding month.

 

Do you have an idea how to solve this?

 

Thank you and regards,

 

Andreas

1 ACCEPTED SOLUTION
ghoshabhijeet
Solution Supplier
Solution Supplier

@AndreasSc  Create a calculated column to get the month number in the column and then sort the month using the Month Number calculated column.

 

Snapshot below:

ghoshabhijeet_0-1604092069871.png

 

 

View solution in original post

3 REPLIES 3
ghoshabhijeet
Solution Supplier
Solution Supplier

@AndreasSc  Create a calculated column to get the month number in the column and then sort the month using the Month Number calculated column.

 

Snapshot below:

ghoshabhijeet_0-1604092069871.png

 

 

Hi @ghoshabhijeet ,

 

I understand how to sort it within the data view.

 

But I don't get it how to do it within the bar chart.

 

Because I want to show the month names (2020-January, 2020-February...) and sort them via the numeric month.

 

Can you tell me how to do this?

 

Thank you and regards,

 

Andreas

Hi @ghoshabhijeet ,

 

now I got it.

 

Thank you for your support!

 

Best regards,

 

Andreas

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.