Sorting a Stacked Barchart

155355fa-aaff-416a-94af-52cc20c65467.png

How do I sort this stacked bar chart in descending order?

Like this but with the stack. Any ideas?

1daeb7f9-be33-448f-b308-6a10e6ebaa27.png
0 3 1,474
3 REPLIES 3

One thing that helps me, but I’m not sure if that’s going to work for you since I don’t see the data, is to change the X-axis type to Ordinal:

2ecb0ce5-986a-4c5d-8fe8-a332ce954ace.png

Then the ordering is sensitive to my data ordering (i.e., I interact with the data headers to apply specific sorting rules)

  1. Order by total ASC
ea92a45b-ac30-41bc-9327-c8fce3964d70.png
  1. Order by blue DESC
e927eaa7-b85c-434b-9c19-92d54e971055.png
  1. Order by green ASC
2334d0b2-6070-4d92-a8f4-4cb6d6891070.png

Thanks for replying @Dawid. Is there a way this sorting can remain even when you do a cross-filtering on your dashboard?

I am not sure @Kehinde , I don’t use cross-filtering functionalities, so you’d have to test it

Top Labels in this Space