<?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 Filter/Display top 10 records in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003735#M1266</link>
    <description>&lt;P&gt;I have a feature service that captures job safety information, including the type of work being performed and the hazards the crew feels are related to that work.&amp;nbsp; The work, and the 80-some hazards, are each separate attributes.&amp;nbsp; Crews utilize Survey123 to select the work they are doing from a list and then select "Yes" for any hazards.&lt;/P&gt;&lt;P&gt;Is there a way to count the number of times a particular hazard was selected so that I can display the top 10 most selected hazards.&amp;nbsp; I'd like a general top 10 as well as being able to correlate a set of top 10 hazards with various job types (maybe have some type of interactive filter that shows the general top 10, but when a particular type of work is selected, the top 10 changes to show the top 10 hazards for that particular job).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Nov 2020 17:44:53 GMT</pubDate>
    <dc:creator>JasonCyphers</dc:creator>
    <dc:date>2020-11-21T17:44:53Z</dc:date>
    <item>
      <title>Filter/Display top 10 records</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003735#M1266</link>
      <description>&lt;P&gt;I have a feature service that captures job safety information, including the type of work being performed and the hazards the crew feels are related to that work.&amp;nbsp; The work, and the 80-some hazards, are each separate attributes.&amp;nbsp; Crews utilize Survey123 to select the work they are doing from a list and then select "Yes" for any hazards.&lt;/P&gt;&lt;P&gt;Is there a way to count the number of times a particular hazard was selected so that I can display the top 10 most selected hazards.&amp;nbsp; I'd like a general top 10 as well as being able to correlate a set of top 10 hazards with various job types (maybe have some type of interactive filter that shows the general top 10, but when a particular type of work is selected, the top 10 changes to show the top 10 hazards for that particular job).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 17:44:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003735#M1266</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2020-11-21T17:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filter/Display top 10 records</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003966#M1268</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9918"&gt;@JasonCyphers&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had part of the same question you asked last week. The best I could come up with is this:&lt;/P&gt;&lt;PRE&gt;[field] IN (SELECT TOP 1100 [field] FROM [layer] order BY [field])&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/display-highest-1100-features-based-on-field/m-p/1002384#M37406" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-online-questions/display-highest-1100-features-based-on-field/m-p/1002384#M37406&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The problem is that it is on the layer before it is published. I am not sure if it will update automatically. I am not sure there is a way to do it in survey123&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 14:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003966#M1268</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2020-11-23T14:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filter/Display top 10 records</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003972#M1270</link>
      <description>&lt;P&gt;Thanks for the reply.&amp;nbsp; I should have specified that I'd like this top 10 to be displayed either in a dashboard or an Experience Builder webpage - I'd still like all 80-some hazards visible/selectable in Survey123.&amp;nbsp; The dashboard will then display the 10 most selected hazards.&lt;/P&gt;&lt;P&gt;The issue I'm facing is that for every feature, there are over 80 attributes (one for each hazard that is yes/no selectable in Survey123).&amp;nbsp; I've created a dashboard that has indicators for each one of the attributes, and included some conditional formatting to highlight any attribute where the count is 50% or above the total number of records; but, this grid-format of a bunch of numbers is hard to look at when there are over 80 blocks.&amp;nbsp; The red indicator was the only way I could get the most selected hazards to stand out.&lt;/P&gt;&lt;P&gt;Here's a snippet of the dashboard:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JasonCyphers_1-1606144344008.png" style="width: 648px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/803i87A8315A25E9C5CC/image-dimensions/648x235?v=v2" width="648" height="235" role="button" title="JasonCyphers_1-1606144344008.png" alt="JasonCyphers_1-1606144344008.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/filter-display-top-10-records/m-p/1003972#M1270</guid>
      <dc:creator>JasonCyphers</dc:creator>
      <dc:date>2020-11-23T15:14:06Z</dc:date>
    </item>
  </channel>
</rss>

