# Bar vertical percentage missing ranges

**URL:** https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660
**Category:** Kibana
**Created:** [November 8, 2021, 5:03pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660 "2021-11-08T17:03:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![adam3](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@adam3](https://discuss.elastic.co/u/adam3)
#### Post date: [November 8, 2021, 5:03pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660/1 "2021-11-08T17:03:10Z")

</div>

![Screen Shot 2021-11-08 at 12.02.43 PM](https://us1.discourse-cdn.com/elastic/original/3X/8/3/83e69a98f5b0b302e466b706e43ae626aa6b311b.png)

I set up a bar vertical percentage graph with some ranges in it and sometimes the ranges are missing. If I add some filters to the top of my dash they start showing up. Is there a setting I can tweak so these graphs always show more detail?

Thanks and sorry if this has been discussed a bunch already.

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [November 8, 2021, 5:33pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660/2 "2021-11-08T17:33:26Z")

</div>

Hi @adam3

what do you mean by "ranges are missing"? The chart does not render at all in the dashboard?  
Can you post a picture of it when missing?

---

<div class="post-metadata">

### Author: ![adam3](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@adam3](https://discuss.elastic.co/u/adam3)
#### Post date: [November 8, 2021, 7:17pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660/3 "2021-11-08T19:17:38Z")

</div>

Sorry for lack of clarity: See how for 90's there's no purple: 25-40 region, no red: 10-20 region, no blue 5-10 region? But when I set a filter to mix:90s I can see all of those regions.

 ![Screen Shot 2021-11-08 at 2.17.51 PM](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5af8b01d773e207644ab01bae86d0ffee3f788c8.png)

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [November 9, 2021, 12:03pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660/4 "2021-11-09T12:03:32Z")

</div>

I suspect the cause of this discrepancy comes from the `Group by this field first` flag enabled on the `Break down by` dimension.

If you download the CSV data with the flag enabled and not you can see the table difference:

- **Group by this field first: true** will group by ranges first, then by top values. This means that for the range `0 -> 5` the first X top values will be collected from ES, and so on for each range: this works ok when all top X values are the same for all ranges, but it starts to be problematic when a range returns a different list compared to other ranges.
- **Group by this field first: false** will get the top values first, then compute the break down ranges. This is more consistent in this case.

If you really need to have the flag set to **Group by this field first: true** , the only way I can see it working is to increase the `Top values` number of values high enough to cover all values in your dataset. Or disable the flag in `Break down by`.

---

<div class="post-metadata">

### Author: ![adam3](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@adam3](https://discuss.elastic.co/u/adam3)
#### Post date: [November 10, 2021, 2:50pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660/5 "2021-11-10T14:50:47Z")

</div>

Wow, thanks!!!

---

<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: [December 8, 2021, 2:51pm UTC](https://discuss.elastic.co/t/bar-vertical-percentage-missing-ranges/288660/6 "2021-12-08T14:51:01Z")

</div>

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