cancel
Showing results for 
Search instead for 
Did you mean: 
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
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.