<?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: Hide Null or 0 values in table in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1386696#M9136</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp;thank you!!!&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2024 13:49:21 GMT</pubDate>
    <dc:creator>dwold</dc:creator>
    <dc:date>2024-02-26T13:49:21Z</dc:date>
    <item>
      <title>Hide Null or 0 values in table</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1385402#M9114</link>
      <description>&lt;P&gt;I want to remove/hide records that have Null or 0 in a table. I'd like the Gap Percent column to start with the Gap Percent record that has 5.&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp;I saw a thread on doing this in pop-ups that I tried to follow but having some issues getting it to work in a table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dwold_2-1708609743393.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95485i567A02802E40B0F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dwold_2-1708609743393.png" alt="dwold_2-1708609743393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dwold_3-1708609769834.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95486i44E5D390166F4232/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dwold_3-1708609769834.png" alt="dwold_3-1708609769834.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried something like this, and it removes the Null values but not the 0 values as well:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var gap = IIf(IsEmpty($datapoint.gap_percent), "0", $datapoint.gap_percent)

return {
  cells: {
    target_value_final: {
      displayText : $datapoint.target_value_final,
      textColor: '',
      backgroundColor: '',
      textAlign: 'right',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    },
		
    gap_percent: {
      displayText : gap,
      textColor: '',
      backgroundColor: '',
      textAlign: 'right',
      iconName: '',
      iconAlign: '',
      iconColor: '',
      iconOutlineColor: ''
    }
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1385402#M9114</guid>
      <dc:creator>dwold</dc:creator>
      <dc:date>2024-02-22T14:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Null or 0 values in table</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1386161#M9131</link>
      <description>&lt;P&gt;IsEmpty returns true if a field either has a null value or an empty string (''). You'll have to check separately for the 0 value, since that is not null.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var gap = IIf(IsEmpty($datapoint.gap_percent) || $datapoint.gap_percent == 0, "0", $datapoint.gap_percent)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 17:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1386161#M9131</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-02-23T17:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Null or 0 values in table</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1386696#M9136</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp;thank you!!!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 13:49:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/hide-null-or-0-values-in-table/m-p/1386696#M9136</guid>
      <dc:creator>dwold</dc:creator>
      <dc:date>2024-02-26T13:49:21Z</dc:date>
    </item>
  </channel>
</rss>

