# Top 10 in bar graph in kibana

**URL:** <https://discuss.elastic.co/t/top-10-in-bar-graph-in-kibana/275301>\
**Category:** Kibana\
**Created:** [June 8, 2021, 12:56pm UTC](https://discuss.elastic.co/t/top-10-in-bar-graph-in-kibana/275301 "2021-06-08T12:56:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek30](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhishek30/32/100065_2.png) [@abhishek30](https://discuss.elastic.co/u/abhishek30)\
**Post date:** [June 8, 2021, 12:56pm UTC](https://discuss.elastic.co/t/top-10-in-bar-graph-in-kibana/275301/1 "2021-06-08T12:56:01Z")

</div>

Hi,  
I have a small setup of elk stack of 7.12.1.  
I have ingested some data related to candidate examination. I wanted to show top 10 questions for which candidate answered correct. This is shown as such in tag cloud.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/6/e681dd5458a1d5db6fef7ada798b4c40d4629002.png)  
But the same visualization thru the bar graph gives result as such.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03284614b9997bf25bc8aa3682d524f4e1462ad3.png)  
I would like to just show top 10 questions and not the other questions in the visualization as highlighted.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d6b9bc3edc7aeb5dd2e0e367febe8e8c1b3ea17.png)

Kindly help,

Regards,  
Abhishek.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 8, 2021, 1:23pm UTC](https://discuss.elastic.co/t/top-10-in-bar-graph-in-kibana/275301/2 "2021-06-08T13:23:45Z")

</div>

It seems like you are missing the `Status.keyword: correct` filter pill on the bar chart which you applied to the tag cloud?

---

<div class="post-metadata">

**Author:** ![abhishek30](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhishek30/32/100065_2.png) [@abhishek30](https://discuss.elastic.co/u/abhishek30)\
**Post date:** [June 9, 2021, 6:11am UTC](https://discuss.elastic.co/t/top-10-in-bar-graph-in-kibana/275301/3 "2021-06-09T06:11:10Z")

</div>

I have applied similar filter in bar visualization too.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a7e4356d9086ea44a46c13d882b522defdbf889a.png)  
Also I think this issue is with respect to the data type of question number field. When in integer it is showing all the questions whereas when in string it gives only top 10 questions.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/a/ea4005ed3531c962ca6d9489901c367bc7f24c8c.png)

Thank 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:** [July 7, 2021, 6:11am UTC](https://discuss.elastic.co/t/top-10-in-bar-graph-in-kibana/275301/4 "2021-07-07T06:11:57Z")

</div>

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