# Decimal numbers visualizations

**URL:** <https://discuss.elastic.co/t/decimal-numbers-visualizations/252695>\
**Category:** Kibana\
**Created:** [October 20, 2020, 1:52pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695 "2020-10-20T13:52:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gusgus1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gusgus1993/32/77165_2.png) [@gusgus1993](https://discuss.elastic.co/u/gusgus1993)\
**Post date:** [October 20, 2020, 1:52pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/1 "2020-10-20T13:52:45Z")

</div>

Hello!

I'm trying to show a sum of decimal numbers at Kibana.

I'm sending as a double variable to the index pattern. When I did the sum at kibana it appears like 0.

My index parttern has this format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b222aff3b102ac14d77883d31f2f51537da3d54a.png)

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

What may be the problem? Metric visualizations only support integer numbers?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 20, 2020, 2:36pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/2 "2020-10-20T14:36:15Z")

</div>

Hi @gusgus1993 welcome to the community.

How / where did you sum the numbers?

Curious if this is a predefined metric or a custom field you created? If so did you create a mapping for the field?

How / where in Kibana are you trying to display the sum?

---

<div class="post-metadata">

**Author:** ![gusgus1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gusgus1993/32/77165_2.png) [@gusgus1993](https://discuss.elastic.co/u/gusgus1993)\
**Post date:** [October 21, 2020, 6:52am UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/3 "2020-10-21T06:52:03Z")

</div>

Hello @stephenb!

I sum the number with a metric visualization, creating a new index field:

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

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/4/540bb78807e481794468a6d5058a97980b892442.png)

The index field was created with uipath, as a double variable. The variable take the value of 0.17 or 0.34. If the value is an integer value it works perfectly, but i need to sum decimal numbers.

I'm trying to display the sum as a metric visualization.

Thank you so much for your help!

---

<div class="post-metadata">

**Author:** ![gusgus1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gusgus1993/32/77165_2.png) [@gusgus1993](https://discuss.elastic.co/u/gusgus1993)\
**Post date:** [October 21, 2020, 7:59am UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/4 "2020-10-21T07:59:23Z")

</div>

Hello, this is an example of the field:

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/6/669741d1d1a2485ed2fc49b268afef716f00b0d1.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 21, 2020, 2:45pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/5 "2020-10-21T14:45:37Z")

</div>

Hi ... trying to follow along.

1st Image is in Index Pattern field management page... OK good, but that does not necessarily determine how a field will be displayed in a visualization after and aggregation like `sum` is applied.

Can you tell / show me which visualization you are using? I can not tell

Can you show me the rest of the visualization setup up looks like?

Can you then show me what the result looks like?

---

<div class="post-metadata">

**Author:** ![gusgus1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gusgus1993/32/77165_2.png) [@gusgus1993](https://discuss.elastic.co/u/gusgus1993)\
**Post date:** [October 21, 2020, 3:43pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/6 "2020-10-21T15:43:47Z")

</div>

The visualization that I'm using is Metric:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d2ca45269d87197480401d1104586e492ab96508.png)

I'm gonna show you the rest:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/6/960edd4c372c7da882361f2c3d074e01d6f1867b.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57ac07523d7565c9483e3ae5d611697f2c35738b.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 21, 2020, 6:33pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/7 "2020-10-21T18:33:29Z")

</div>

And there is data in the last 24 hours?

What version of Elastic / Kibana?

Yes : Metrics Visualization supported Decimal Numbers

Yes seems odd

 ![Screen Shot 2020-10-21 at 11.43.16 AM](https://us1.discourse-cdn.com/elastic/original/3X/0/9/09e89c813cb53f9ec242cece3981ea1b2d4f443a.png)

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 21, 2020, 6:53pm UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/8 "2020-10-21T18:53:46Z")

</div>

Some other things, try `max` instead of `sum` see what you get.

This feels like a formatting thing....

Also in the index pattern can you just change the format back to default and see what happends

 ![Screen Shot 2020-10-21 at 11.54.39 AM](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9ad8ab04c44892c663d804dee29920b15edfe3ca.png)

---

<div class="post-metadata">

**Author:** ![gusgus1993](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gusgus1993/32/77165_2.png) [@gusgus1993](https://discuss.elastic.co/u/gusgus1993)\
**Post date:** [October 22, 2020, 6:45am UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/9 "2020-10-22T06:45:24Z")

</div>

Hello @stephenb,

I created a new log field again and it works perfectly.

I think the problem was that the information that i provided firstly was integer value. Then, I changed the field to double and it didn't refresh.

Thanks for your help!

---

<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:** [November 19, 2020, 6:45am UTC](https://discuss.elastic.co/t/decimal-numbers-visualizations/252695/10 "2020-11-19T06:45:32Z")

</div>

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