# order the split by values in Dashboards

**URL:** <https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513>\
**Category:** Dashboarding\
**Tags:** latest-dynatrace, dashboards\
**Created:** [September 5, 2024, 9:01pm UTC](https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513 "2024-09-05T21:01:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![calfano](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/calfano/32/35558_2.png) [@calfano](https://community.dynatrace.com/u/calfano)\
**Post date:** [September 5, 2024, 9:01pm UTC](https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513/1 "2024-09-05T21:01:46Z")

</div>

Is there a way to specifically pick the order I want the split by to be displayed?

For example I want the value that’s blue at the very top followed by red then yellow

 ![calfano_0-1725570073467.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4e8c2ee7e38cc2b0b9184dbc210dc73d7b32e01b.png)

To me it looks like it’s alphabetical?

Thanks.

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 9, 2024, 12:04am UTC](https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513/2 "2024-09-09T00:04:47Z")

</div>

I’ve not tried it in the classic dashboards , but I think this can be done in Notebooks/New Dashboards using the “Series overrides” under Bar chart options .

Please give it a try

> **[Bar chart visualization](https://docs.dynatrace.com/docs/analyze-explore-automate/dashboards-and-notebooks/edit-visualizations/visualization-chart-bar)**
>
> Create and edit bar chart visualizations on your Dynatrace dashboards and notebooks.

 ![p_devulapalli_0-1725840259710.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/8/781124f1d561fc857f06d403008e897e06553e14.png)

---

<div class="post-metadata">

**Author:** ![calfano](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/calfano/32/35558_2.png) [@calfano](https://community.dynatrace.com/u/calfano)\
**Post date:** [September 9, 2024, 12:42pm UTC](https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513/3 "2024-09-09T12:42:09Z")

</div>

Yeah but as far as I’m aware if I have two fields and I want one field displayed on top of the other, it’s not possible right? in your screenshot if there was another series called storeC could I be able to display storeC ABOVE storeB?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 10, 2024, 12:28am UTC](https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513/4 "2024-09-10T00:28:52Z")

</div>

Yea, it does seem to work with series overrides, whatever I select from drop down seems to be showing up on the top when I have multiple options to select

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [September 10, 2024, 1:54am UTC](https://community.dynatrace.com/t/order-the-split-by-values-in-dashboards/47513/5 "2024-09-10T01:54:10Z")

</div>

Testing it out in my environment, if using a bar chart you can choose the order by using the sort function in DQL. For example the bellow is ordered by hostname:

```markup
timeseries avg(dt.host.cpu.usage), by:{host.name}
| sort host.name desc

```

If I then sort ascending the order flips as expected. Removing the sort, it appears to be reverse alphabetical by default.
