<?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: Formatting cell values of a table added with table widget to dashboard in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388250#M57741</link>
    <description>&lt;P&gt;You can find the Advanced Formatting for tables under the Values tab. Each column will have its own section of the return statement.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JenniferAcunto_0-1709150250028.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96176iDD33DF24199C6789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JenniferAcunto_0-1709150250028.png" alt="JenniferAcunto_0-1709150250028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 19:58:13 GMT</pubDate>
    <dc:creator>JenniferAcunto</dc:creator>
    <dc:date>2024-02-28T19:58:13Z</dc:date>
    <item>
      <title>Formatting cell values of a table added with table widget to dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388166#M57736</link>
      <description>&lt;P&gt;I added a table widget and connected it with a table in a dashboard. I want to format select cell values. I'm think I could manage this with Arcade, similar to what's below. Is there a way to handle this table formatting in a dashboard?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var bld = Concatenate('&amp;lt;strong&amp;gt;'+$feature.LT2_Difference+'&amp;lt;/strong&amp;gt;')


# Format where values are less than or equal to -1
var val = When($feature.LT2_Difference &amp;lt;= -1, bld, $feature.LT2_Difference);

return{
LT2_Difference: {
      displayText : val,
      textColor: '',
      backgroundColor: '#e0e0e0',
      textAlign: 'left',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 17:38:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388166#M57736</guid>
      <dc:creator>ellipsol</dc:creator>
      <dc:date>2024-02-28T17:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting cell values of a table added with table widget to dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388250#M57741</link>
      <description>&lt;P&gt;You can find the Advanced Formatting for tables under the Values tab. Each column will have its own section of the return statement.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JenniferAcunto_0-1709150250028.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96176iDD33DF24199C6789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JenniferAcunto_0-1709150250028.png" alt="JenniferAcunto_0-1709150250028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 19:58:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388250#M57741</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2024-02-28T19:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting cell values of a table added with table widget to dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388301#M57743</link>
      <description>&lt;P&gt;Thank you, I misspoke and realize I was trying in Experience Builder, not a Dashboard. I got a minimum working example with your response, in a Dashboard.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var bgcolor = When($datapoint.diffVal &amp;lt;= -1, '#CC0000', '')
var tcolor = When($datapoint.diffVal &amp;lt;= -1, '#111', '') 

return

return {
  cells: {
    LT2_Difference: {
      displayText : $datapoint.diffVal,
      textColor: tcolor,
      backgroundColor: bgcolor,
      textAlign: 'right',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },
}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 20:56:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1388301#M57743</guid>
      <dc:creator>ellipsol</dc:creator>
      <dc:date>2024-02-28T20:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting cell values of a table added with table widget to dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1482627#M59494</link>
      <description>&lt;P&gt;Is there a plan to allow for value formatting options (e.g. Setting Digit grouping, Maximum decimal places, etc.) directly to the ArcGIS Dashboard table widget to avoid the need to use Arcade within Advanced Formatting?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2024 13:32:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/formatting-cell-values-of-a-table-added-with-table/m-p/1482627#M59494</guid>
      <dc:creator>EllieLinden</dc:creator>
      <dc:date>2024-06-02T13:32:36Z</dc:date>
    </item>
  </channel>
</rss>

