# Visualize only the values of the fields

**URL:** <https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793>\
**Category:** Kibana\
**Created:** [July 4, 2017, 3:05pm UTC](https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793 "2017-07-04T15:05:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartikeya\_sharma\_13](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kartikeya\_sharma\_13](https://discuss.elastic.co/u/kartikeya_sharma_13)\
**Post date:** [July 4, 2017, 3:05pm UTC](https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793/1 "2017-07-04T15:05:04Z")

</div>

Hi ,

I need to visualize only the values of the fields by some other field . I dont want to perform any sought of aggregation like Avg,Sum, Max,Min, Count on the values . I need to visualize it in Vertical Barchart .

I tried it with Top\_Hits , but in one of the scenario i am getting the aggregation option as Concatenate . Its giving me appropriate response .But in the others i am not getting the same option.

How Can i do it ?

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [July 4, 2017, 3:58pm UTC](https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793/2 "2017-07-04T15:58:36Z")

</div>

Hi @kartikeya_sharma_13,

I am not absolutely certain I understand your use-case correctly. I assume you want to plot one field of a document over another? While visualize only supports aggregations on the y-axis, you can achieve a result similar to that using a `Terms` or `Filters` aggregation on the x-axis and any of `Min`, `Max`, `Sum` or `Avg` on the y-axis. As long as the x-axis values are unique, the only one value would be used to calculate the y-axis.

---

<div class="post-metadata">

**Author:** ![kartikeya\_sharma\_13](https://avatars.discourse-cdn.com/v4/letter/k/c77e96/32.png) [@kartikeya\_sharma\_13](https://discuss.elastic.co/u/kartikeya_sharma_13)\
**Post date:** [July 5, 2017, 8:27am UTC](https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793/3 "2017-07-05T08:27:33Z")

</div>

Hi @weltenwort  
I am sorry if my question was not so clear . So i have two Columns lets say A and B

A B  
App1 20  
App2 91  
App3 60  
App4 72

So i want to plot a graph of Col B by Col A and want to represent the exact value of of Col B against Col A.

Is there any way i can achieve this .

Thanks

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [July 5, 2017, 9:18am UTC](https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793/4 "2017-07-05T09:18:38Z")

</div>

Yes, using a `Terms` aggregation with a sufficiently large size on the x-axis and a `Max` aggregation on the y-axis should work in that case.

---

<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:** [August 2, 2017, 9:19am UTC](https://discuss.elastic.co/t/visualize-only-the-values-of-the-fields/91793/5 "2017-08-02T09:19:00Z")

</div>

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