# Why the order of split rows change the displayed values on Kibana table visualization

**URL:** https://discuss.elastic.co/t/why-the-order-of-split-rows-change-the-displayed-values-on-kibana-table-visualization/257168
**Category:** Kibana
**Created:** [December 1, 2020, 7:25am UTC](https://discuss.elastic.co/t/why-the-order-of-split-rows-change-the-displayed-values-on-kibana-table-visualization/257168 "2020-12-01T07:25:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Incauto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/incauto/32/60149_2.png) [@Incauto](https://discuss.elastic.co/u/Incauto)
#### Post date: [December 1, 2020, 7:25am UTC](https://discuss.elastic.co/t/why-the-order-of-split-rows-change-the-displayed-values-on-kibana-table-visualization/257168/1 "2020-12-01T07:25:38Z")

</div>

Im counting documents with repeated values of the field throughput\_mb\_range grouped by the name of an interface.

My metric is Count.  
My first split row is the name of the interface with a size of 600.  
My second split row is throughput\_mb\_range with a size of 1.

I want to display only the value that is reapeated the most per interface name.

Is this the correct configuration to do that?

I started to doubt because when I change the order of the splis rows: first throughput\_mb\_range, and second row interface name, the values displayed in the table change.

 ![ejemplo](https://us1.discourse-cdn.com/elastic/original/3X/2/0/202b72fe1b4777936bdc8910a48165dc8875b949.png)

---

<div class="post-metadata">

### Author: ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)
#### Post date: [December 4, 2020, 4:15pm UTC](https://discuss.elastic.co/t/why-the-order-of-split-rows-change-the-displayed-values-on-kibana-table-visualization/257168/2 "2020-12-04T16:15:42Z")

</div>

Hi @Incauto

It is expected that results are different.

Second split row creates a sub-aggregation

> Bucket aggregations, as opposed to `metrics` aggregations, can hold sub-aggregations. These sub-aggregations will be aggregated for the buckets created by their "parent" bucket aggregation.

```auto
My first split row is the name of the interface with a size of 600.
My second split row is throughput_mb_range with a size of 1.

```

So in this case you get top 600 interfaces and then for each get top 1 `through_mb_range` per each interface

**if to change the order:**

In this case you get top 1 `through_mb_range` and then for that top 600 interfaces

Depending on your use-case you can pick the order which works for you.

---

<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: [January 1, 2021, 4:15pm UTC](https://discuss.elastic.co/t/why-the-order-of-split-rows-change-the-displayed-values-on-kibana-table-visualization/257168/3 "2021-01-01T16:15:44Z")

</div>

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