<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: thousands separators in Arcade in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1158392#M6059</link>
    <description>&lt;P&gt;For the users who prefer the .(period) as separator. Arcade needs , (comma) and (if I'm not mistaken) your organisation settings return a .(period)&lt;/P&gt;</description>
    <pubDate>Mon, 28 Mar 2022 14:55:15 GMT</pubDate>
    <dc:creator>Ade_Bruijn</dc:creator>
    <dc:date>2022-03-28T14:55:15Z</dc:date>
    <item>
      <title>thousands separators in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065662#M4643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="VIiyi"&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I'm looking for thousands separators in Arcade to use in ArcGIS Dashboard advanced formatting option.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Which code should be used? Nothing found about.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Greats,&lt;/P&gt;&lt;P&gt;S.Peter&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 15:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065662#M4643</guid>
      <dc:creator>steffen4arcgis</dc:creator>
      <dc:date>2021-06-07T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: thousands separators in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065669#M4644</link>
      <description>&lt;P&gt;Try &lt;A href="https://developers.arcgis.com/arcade/function-reference/data_functions/#text" target="_self"&gt;Text&lt;/A&gt;, maybe?&lt;/P&gt;&lt;PRE&gt;Text(123456, '###,###') -&amp;gt; 123,456&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jun 2021 16:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065669#M4644</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-07T16:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: thousands separators in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065876#M4645</link>
      <description>&lt;P&gt;&lt;SPAN&gt;It doesn't work. Does the number have to be formatted as text? I use the expression in ArcGIS Dashboard Indicator. --&amp;gt;&amp;nbsp;middleText: ($datapoint.numbers, '###.###'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;numbers = integer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;separator = "."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 07:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065876#M4645</guid>
      <dc:creator>steffen4arcgis</dc:creator>
      <dc:date>2021-06-08T07:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: thousands separators in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065980#M4646</link>
      <description>&lt;P&gt;You'd need it to read&lt;/P&gt;&lt;PRE&gt;middleText: Text($datapoint.numbers, '###,###')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Personally, I prefer to do any manipulation of objects and variables outside of the return statement. That way if something's not working, you can try to debug it easier. I tested this in an indicator, and it &lt;EM&gt;does &lt;/EM&gt;seem to be working. I'd double-check your expression.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var some_int = 123456;

var mtext = Text(some_int, '###,###');

return {
    middleText: mtext
  }&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1623158957651.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15398iF598483CFE5B654C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1623158957651.png" alt="jcarlson_0-1623158957651.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 13:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1065980#M4646</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-06-08T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: thousands separators in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1158392#M6059</link>
      <description>&lt;P&gt;For the users who prefer the .(period) as separator. Arcade needs , (comma) and (if I'm not mistaken) your organisation settings return a .(period)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 14:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/thousands-separators-in-arcade/m-p/1158392#M6059</guid>
      <dc:creator>Ade_Bruijn</dc:creator>
      <dc:date>2022-03-28T14:55:15Z</dc:date>
    </item>
  </channel>
</rss>

