<?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: Dashboard Table - Filter out columns instead of entries in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1336647#M54995</link>
    <description>&lt;P&gt;I don't think there's a way to do this, but there might be a reasonably clean alternative.&lt;/P&gt;&lt;P&gt;You could use a Data Expression (written in Arcade) to convert your records to 2-or-3 distinct records, depending on whether it has two or three years' funding.&lt;/P&gt;&lt;P&gt;For example, if you had a record like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Year1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Src1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Amount1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Year2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Src2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Amount2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Year3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Src3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Amount3&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="11.11111111111111%"&gt;2024&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;A&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;10000&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;2025&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;B&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;15000&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;2026&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;C&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;20000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could convert it to this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&lt;STRONG&gt;Src&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2024&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;A&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;10000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2025&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;B&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2026&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;C&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;20000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whereas if you only had the first six columns in your record, you'd end up with two rows in your result.&lt;/P&gt;&lt;P&gt;I think this would give your table a nice appearance, no gaping blank spaces, but how easy it will be will depend on how familiar with Arcade you are.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 17:06:22 GMT</pubDate>
    <dc:creator>MobiusSnake</dc:creator>
    <dc:date>2023-10-10T17:06:22Z</dc:date>
    <item>
      <title>Dashboard Table - Filter out columns instead of entries</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1336635#M54994</link>
      <description>&lt;P&gt;I am wondering if there is a method of filtering out null columns in the Table widget on the dashboard and not the whole entry.&amp;nbsp; I have features on a map, and some of them have funding for two years while others have funding for three years.&amp;nbsp; When I select the ones that only have two years of funding, I want only those two years to be shown rather than the blank third year:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-10-10 113223.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82779i16B2A1E0BF366882/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-10-10 113223.png" alt="Screenshot 2023-10-10 113223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I need the Funding Year 3 column added to the table for those features that do have a third year, so I cannot remove it from the table.&amp;nbsp; When I try to use the filter options, it just removes the whole feature if Funding Year 3 is null instead of the column.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 16:34:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1336635#M54994</guid>
      <dc:creator>AbigailEbelherr</dc:creator>
      <dc:date>2023-10-10T16:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Table - Filter out columns instead of entries</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1336647#M54995</link>
      <description>&lt;P&gt;I don't think there's a way to do this, but there might be a reasonably clean alternative.&lt;/P&gt;&lt;P&gt;You could use a Data Expression (written in Arcade) to convert your records to 2-or-3 distinct records, depending on whether it has two or three years' funding.&lt;/P&gt;&lt;P&gt;For example, if you had a record like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Year1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Src1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Amount1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Year2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Src2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Amount2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Year3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Src3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;&lt;STRONG&gt;Amount3&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="11.11111111111111%"&gt;2024&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;A&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;10000&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;2025&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;B&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;15000&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;2026&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;C&lt;/TD&gt;&lt;TD width="11.11111111111111%"&gt;20000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could convert it to this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&lt;STRONG&gt;Src&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2024&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;A&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;10000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2025&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;B&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2026&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;C&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;20000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whereas if you only had the first six columns in your record, you'd end up with two rows in your result.&lt;/P&gt;&lt;P&gt;I think this would give your table a nice appearance, no gaping blank spaces, but how easy it will be will depend on how familiar with Arcade you are.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 17:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1336647#M54995</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2023-10-10T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Table - Filter out columns instead of entries</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1338452#M55101</link>
      <description>&lt;P&gt;Thank you for offering a solution.&amp;nbsp; I am not very familiar with Arcade.&amp;nbsp; We decided to go in a different direction with displaying the data, so this won't be needed for now, but I appreciate the help.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 21:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dashboard-table-filter-out-columns-instead-of/m-p/1338452#M55101</guid>
      <dc:creator>AbigailEbelherr</dc:creator>
      <dc:date>2023-10-16T21:30:26Z</dc:date>
    </item>
  </channel>
</rss>

