Dashboards & Visualizations
Highlighted

How to remove decimal precision in single value visualization, but keep it in the trending value?

New Member

Good afternoon.

In this panel, I want to remove the decimal precision in the single value while keeping it in the trending value.
How can I do this?

alt text

0 Karma
Highlighted

Re: How to remove decimal precision in single value visualization, but keep it in the trending value?

SplunkTrust
SplunkTrust

Try adding | fieldformat foo = round(foo, 0) to the end of your query, where 'foo' is the field displayed.

---
If this reply helps you, an upvote would be appreciated.
0 Karma
Highlighted

Re: How to remove decimal precision in single value visualization, but keep it in the trending value?

New Member

fieldformat not modify the number format precision;
integers with 0 are very ugly but its necessary in percentage

😞

0 Karma
Highlighted

Re: How to remove decimal precision in single value visualization, but keep it in the trending value?

hi @Dherom

just go to edit mode

alt text

0 Karma