# Lens add number data type

**URL:** <https://discuss.elastic.co/t/lens-add-number-data-type/232726>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [May 15, 2020, 12:06am UTC](https://discuss.elastic.co/t/lens-add-number-data-type/232726 "2020-05-15T00:06:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bash](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@bash](https://discuss.elastic.co/u/bash)\
**Post date:** [May 15, 2020, 12:06am UTC](https://discuss.elastic.co/t/lens-add-number-data-type/232726/1 "2020-05-15T00:06:31Z")

</div>

Hi Every one  
i am going through a strange issue , i want a build a bar chart to count number of employee per age(integer number), but lens is not allowing me to add any field with number data type to the x-axis is there any advice i am really confused

 ![lens](https://us1.discourse-cdn.com/elastic/original/3X/f/1/f1fb8efee0313c3fc8d849bc081ce637f7eada19.jpeg)

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [May 15, 2020, 1:36am UTC](https://discuss.elastic.co/t/lens-add-number-data-type/232726/2 "2020-05-15T01:36:45Z")

</div>

We fixed this in 7.6.0 [https://github.com/elastic/kibana/pull/50177](https://github.com/elastic/kibana/pull/50177)

---

<div class="post-metadata">

**Author:** ![bash](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@bash](https://discuss.elastic.co/u/bash)\
**Post date:** [May 15, 2020, 10:40am UTC](https://discuss.elastic.co/t/lens-add-number-data-type/232726/3 "2020-05-15T10:40:20Z")

</div>

Hi wyile  
Thank you for the update, i am using using elastic cloud service with Kibana 7.5.2 that means i should upgrade my deployment to the new release to get this issue fixed.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [May 15, 2020, 2:01pm UTC](https://discuss.elastic.co/t/lens-add-number-data-type/232726/4 "2020-05-15T14:01:16Z")

</div>

Yes, if you upgrade you'll be able to use numbers on the X axis.

---

<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 12, 2020, 2:01pm UTC](https://discuss.elastic.co/t/lens-add-number-data-type/232726/5 "2020-06-12T14:01:18Z")

</div>

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