Select to view content in your preferred language

How to Minimize the digits numbers in an Indicator

1534
6
Jump to solution
01-09-2022 03:23 AM
Abdullah_AlFazari
Regular 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:

Abdullah_AlFazari_0-1641727233129.png

 

Any thoughts on how to minimize the digits numbers?

Would highly appreciate your support:

@JayantaPoddar

@DerekLaw
@JohannesLindner

 

0 Kudos
1 Solution

Accepted Solutions
JayantaPoddar
MVP Esteemed Contributor

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

JayantaPoddar_0-1641905514299.png

 

JayantaPoddar_1-1641905722604.png

 



Think Location

View solution in original post

6 Replies
JayantaPoddar
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
0 Kudos
Abdullah_AlFazari
Regular Contributor

Hi @JayantaPoddar 

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?

Abdullah_AlFazari_0-1641882169020.png

 

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

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

JayantaPoddar_0-1641905514299.png

 

JayantaPoddar_1-1641905722604.png

 



Think Location
Abdullah_AlFazari
Regular Contributor

Hi @JayantaPoddar 

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

0 Kudos
DavidNyenhuis1
Esri Contributor

Hi @Abdullah_AlFazari,

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

DavidNyenhuis1_1-1641856797506.png

 

 

Abdullah_AlFazari
Regular Contributor

Hi @DavidNyenhuis1 

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.

0 Kudos