<?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 Using selectors to change displayed field on dashboard map. in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081776#M4827</link>
    <description>&lt;P&gt;I have a map with essentially 6 different fields. X coordinate, Y coordinate, name, 2018, 2019, 2020. Each XY point corresponds to a vehicle counter that counts passing vehicles. Each year corresponds to the value for that given counter for that entire year. There are about 150 counters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently on my map in my dashboard, I am only displaying the 2020 data. I want to add some sort of button or selector on the header of the dashboard that lets you click each year and updates the map to that year. Any clue how to do this? I have a selector for Counter Location that has the address of the counter, but idk how to add actual fields as the selector button.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This dashboard is a perfect example, with the "year" buttons on the header&amp;nbsp;&lt;A href="https://www.arcgis.com/apps/dashboards/9e2564aba06f4cbe88baa600b06188b1" target="_blank"&gt;https://www.arcgis.com/apps/dashboards/9e2564aba06f4cbe88baa600b06188b1&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jul 2021 15:37:11 GMT</pubDate>
    <dc:creator>bikeMapper312</dc:creator>
    <dc:date>2021-07-22T15:37:11Z</dc:date>
    <item>
      <title>Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081776#M4827</link>
      <description>&lt;P&gt;I have a map with essentially 6 different fields. X coordinate, Y coordinate, name, 2018, 2019, 2020. Each XY point corresponds to a vehicle counter that counts passing vehicles. Each year corresponds to the value for that given counter for that entire year. There are about 150 counters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently on my map in my dashboard, I am only displaying the 2020 data. I want to add some sort of button or selector on the header of the dashboard that lets you click each year and updates the map to that year. Any clue how to do this? I have a selector for Counter Location that has the address of the counter, but idk how to add actual fields as the selector button.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This dashboard is a perfect example, with the "year" buttons on the header&amp;nbsp;&lt;A href="https://www.arcgis.com/apps/dashboards/9e2564aba06f4cbe88baa600b06188b1" target="_blank"&gt;https://www.arcgis.com/apps/dashboards/9e2564aba06f4cbe88baa600b06188b1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 15:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081776#M4827</guid>
      <dc:creator>bikeMapper312</dc:creator>
      <dc:date>2021-07-22T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081808#M4828</link>
      <description>&lt;P&gt;Unfortunately, the way your data is structured, it's not going to work like the example you linked to.&lt;/P&gt;&lt;P&gt;The reason that example works is because the data has a "Year" field and multiple years of data are represented by additional rows rather than columns.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1626970752320.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19145i5208612738041463/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1626970752320.png" alt="jcarlson_0-1626970752320.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Within a single indicator or chart, you can display multiple fields, but a category selector like that needs a single field to act on.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 16:24:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081808#M4828</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-07-22T16:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081832#M4829</link>
      <description>&lt;P&gt;Thanks for your reply! I see what you mean. I had a feeling that was the problem. Do you suggest a solution if I wanted to recreate that linked map? Based off that example table, it seems like I would need a field with each station location, but it would be a repeat row for each year? For example in the bike count explorer, wouldn't a single bike point location have multiple rows since it has multiple years? Like this table would be an example.&lt;/P&gt;&lt;TABLE border="1" width="56.25%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Location&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;Year&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;Count Total&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Smith St&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;2017&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;455&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Smith St&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;2018&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;555&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Smith St&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;2019&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;Smith St&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;2020&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;777&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i did this, wouldn't I have multiple points on top of one another on the map? Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 16:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081832#M4829</guid>
      <dc:creator>bikeMapper312</dc:creator>
      <dc:date>2021-07-22T16:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081840#M4830</link>
      <description>&lt;P&gt;I guess I could just manually change my data table in excel and just copy and paste each location 5 different times for the years?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 17:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081840#M4830</guid>
      <dc:creator>bikeMapper312</dc:creator>
      <dc:date>2021-07-22T17:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081843#M4831</link>
      <description>&lt;P&gt;Yes, if you wanted to replicate that other example, you'd need to restructure your data in the way you show.&lt;/P&gt;&lt;P&gt;And yes, that would create overlapping points. As long as you don't give an "all / none" option to your category filter, however, the dashboard itself will only show one year at a time based on the selected category.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 17:15:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081843#M4831</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-07-22T17:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081935#M4833</link>
      <description>&lt;P&gt;Great, thanks! It ended up working and i can filter by year. I do have one more question though.&lt;/P&gt;&lt;P&gt;I have an indicator that has "Total counters." Previously, it was a fixed number of 150 because it was counting the number of counters. But in reality, each year there are a different number of counters.&amp;nbsp;&lt;BR /&gt;For example, in 2017, we only had 68, now in 2021 we have 115. The bike count example updates the "total sites" by year.&lt;/P&gt;&lt;P&gt;How do you suppose I format my data so that I can show this? I have an example table of my data. It shows that for the first three years, the count was zero, aka, we didnt have a counter.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Location&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;Year&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Smith Rd&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2017&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Smith Rd&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2018&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Smith Rd&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2019&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Smith Rd&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2020&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;456&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;Smith Rd&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;2021&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;566&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 22 Jul 2021 19:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081935#M4833</guid>
      <dc:creator>bikeMapper312</dc:creator>
      <dc:date>2021-07-22T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using selectors to change displayed field on dashboard map.</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081964#M4835</link>
      <description>&lt;P&gt;You could have the indicator filter out the counters that are at 0 (or null, if that applies), then add an &lt;STRONG&gt;action &lt;/STRONG&gt;to the year filter so that it also filters the indicator. That would cause the indicator to show the total counters for the selected year that are non-zero values.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 20:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/using-selectors-to-change-displayed-field-on/m-p/1081964#M4835</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-07-22T20:58:40Z</dc:date>
    </item>
  </channel>
</rss>

