Dashboards & Visualizations

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

Dherom
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

harishalipaka
Motivator

hi @Dherom

just go to edit mode

alt text

Thanks
Harish

richgalloway
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, Karma would be appreciated.
0 Karma

Dherom
New Member

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

😞

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...