# Double split order in bar chart

**URL:** <https://discuss.elastic.co/t/double-split-order-in-bar-chart/180300>\
**Category:** Kibana\
**Created:** [May 9, 2019, 7:18am UTC](https://discuss.elastic.co/t/double-split-order-in-bar-chart/180300 "2019-05-09T07:18:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Post date:** [May 9, 2019, 7:18am UTC](https://discuss.elastic.co/t/double-split-order-in-bar-chart/180300/1 "2019-05-09T07:18:49Z")

</div>

Hi there,

I face order messed up problem. Maybe I am doing wrongly.

 ![double-term-split](https://us1.discourse-cdn.com/elastic/original/3X/4/2/424cb1a1ff9c98a36176b2cdabdcb529f4d120ff.png)

I want `descending order filter2` and `filter1` by five col `ids`.

So here I do below steps:  
First split series, I add two filters. And second terms use by ids with 5 desc order,  
But I don't get expected result.  
The id 68 which is orange color value should have request count actually.

How to solve my above problem. Is there anyway to achieve this with elastichsearch query? Which query is suitable for double terms split order??

I appreciate any advise. 🙂

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [May 9, 2019, 5:29pm UTC](https://discuss.elastic.co/t/double-split-order-in-bar-chart/180300/2 "2019-05-09T17:29:43Z")

</div>

Drag the x-axis terms aggregation above the split series filters aggregation. That way the filters aggregation will be applied to the results of the terms aggregation.

---

<div class="post-metadata">

**Author:** ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)\
**Post date:** [May 10, 2019, 9:34am UTC](https://discuss.elastic.co/t/double-split-order-in-bar-chart/180300/3 "2019-05-10T09:34:49Z")

</div>

@Nathan_Reese I've tried already. It doesn't work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 7, 2019, 9:34am UTC](https://discuss.elastic.co/t/double-split-order-in-bar-chart/180300/4 "2019-06-07T09:34:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
