# How to Minimize the digits numbers in an Indicator

1017
6
Jump to solution
01-09-2022 03:23 AM
Occasional Contributor

Hi friends,

I'm in the process of creating a new dashboard and trying to show a length of an asset, however, the figure in the indicator shows all decimal numbers where I only wanted to show 4 digits (and will add a suffix to be as a KM), as the below screenshot:

Any thoughts on how to minimize the digits numbers?

Would highly appreciate your support:

@JayantaPoddar

1 Solution

Accepted Solutions
MVP Esteemed Contributor

Please check if the following tweaks to the indicator works for you?

Think Location
6 Replies
MVP Esteemed Contributor

Could you share a few more details/ clarification on the data values?

- Is the comma denoting a decimal point (like denoting 277.329) or a Thousand Separator (like denoting 277329 meters)?

- What is the range of values you have for that attribute.

- If it's a thousand separator, would you like a suffix of "m" for values upto 999.9, and convert them to km once its reaches 1000 m mark?

Also have a look at the advanced formatting in ArcGIS Dashboard using Arcade expressions.

Think Location
Occasional Contributor

Thank you very much for your response.

Please find the below screenshot where I'll explain your queris. I'm actually not much familiar with Arcade, but you may guide me through the process.

I have the length number as shown below (277329.2936755732), so this long number is in meter, and I want it to be presented in kilometer formate like (277.3 KM) only to have 4 digits. What function do I need to add to the Arcade?

MVP Esteemed Contributor

Please check if the following tweaks to the indicator works for you?

Think Location
Occasional Contributor

You are awesome man, this is splendid and worked with me. Thank you very much for the great support.

Esri Contributor

Are you looking for unit prefixing?
Here is a link to do it if using advanced formatting (via Arcade).

Occasional Contributor

Thank you very much for being here. Appreciate it.

I've explained my question above in my response to @JayantaPoddar and I hope you got my concern.

I also have to look at the link you provided, many thanks dear for that.