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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...