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

Changing sequence of bars in bar chart

Hello everyone, 

 

I have the following bar chart using the table shown below. I would like to change the sequence of the bars, for example i want to have the "Others" bar to be the last bar. Is there a way to do this?

 

Thanks in advance,

 

Screenshot 2021-09-23 110725.jpg

 

 

Screenshot 2021-09-23 110711.jpg

1 ACCEPTED SOLUTION
timg
Solution Sage
Solution Sage

Hi sr12,

Definitely. Try adding an extra column in which you define the sorting you would like to have (see image 1).

Then go to the model view, select the category column and change the "sort by" option to the new sorting column (image 2).

The visual should now be sorting correctly (image 3).

 

Does that solve the issue for you?

 

image 1image 1

image 2image 2

image 3image 3

 

Best regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
timg
Solution Sage
Solution Sage

Hi sr12,

Definitely. Try adding an extra column in which you define the sorting you would like to have (see image 1).

Then go to the model view, select the category column and change the "sort by" option to the new sorting column (image 2).

The visual should now be sorting correctly (image 3).

 

Does that solve the issue for you?

 

image 1image 1

image 2image 2

image 3image 3

 

Best regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.