<?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: Return values based on SQL queries and dropdowns? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1083791#M2510</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/336613"&gt;@DrewPhillips3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, yes (and I'm hope I'm close to being right when saying this).&lt;BR /&gt;&lt;BR /&gt;I've created a rough, and&amp;nbsp; I do mean rough, example for you.&lt;BR /&gt;&lt;BR /&gt;I took your data above, created a table, brought it into ExpB, created simple views for each of the filters (so, just two views), created the filters referring Filter 1 to View 1 etc,&amp;nbsp; and added Data Connected text boxes for the output, each text box containing the appropriate expression.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://experience.arcgis.com/experience/438103e6c4c546338dd42aa516d27506/" target="_blank"&gt;https://experience.arcgis.com/experience/438103e6c4c546338dd42aa516d27506/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As said, it's rough, but may help you with ideas.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 23:30:13 GMT</pubDate>
    <dc:creator>JonathanMcDougall</dc:creator>
    <dc:date>2021-07-28T23:30:13Z</dc:date>
    <item>
      <title>Return values based on SQL queries and dropdowns?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1083697#M2509</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I'm trying to see if a project idea is feasible by using Dashboards or Experience Builder.&lt;/P&gt;&lt;P&gt;I have a spreadsheet (that can be a database) containing different construction projects. The dataset looks like:&lt;/P&gt;&lt;TABLE border="1" width="35.999999541663406%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="20%"&gt;Company&lt;/TD&gt;&lt;TD width="20%"&gt;Area&lt;/TD&gt;&lt;TD width="20%"&gt;Metric Value&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;ABC Co&lt;/TD&gt;&lt;TD width="20%"&gt;CA&lt;/TD&gt;&lt;TD width="20%"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;F Corp&lt;/TD&gt;&lt;TD width="20%"&gt;CA&lt;/TD&gt;&lt;TD width="20%"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;Momcorp&lt;/TD&gt;&lt;TD width="20%"&gt;NY&lt;/TD&gt;&lt;TD width="20%"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;F Corp&lt;/TD&gt;&lt;TD width="20%"&gt;CA&lt;/TD&gt;&lt;TD width="20%"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="20%"&gt;Momcorp&lt;/TD&gt;&lt;TD width="20%"&gt;NY&lt;/TD&gt;&lt;TD width="20%"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I'd like to do&lt;/STRONG&gt;: build several dropdowns allowing a user to select:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Company 1 (say, ABC Co)&lt;/LI&gt;&lt;LI&gt;Company 2 (say, F Corp)&lt;/LI&gt;&lt;LI&gt;An area (say, CA)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;And return an average of the metrics for Company 1 and Company 2 in the selected area.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;At this point, I just want to see if this is possible / feasible using AGO tools.&lt;/P&gt;&lt;P&gt;Thanks a ton for your help!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jul 2021 19:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1083697#M2509</guid>
      <dc:creator>DrewPhillips3</dc:creator>
      <dc:date>2021-07-28T19:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Return values based on SQL queries and dropdowns?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1083791#M2510</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/336613"&gt;@DrewPhillips3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, yes (and I'm hope I'm close to being right when saying this).&lt;BR /&gt;&lt;BR /&gt;I've created a rough, and&amp;nbsp; I do mean rough, example for you.&lt;BR /&gt;&lt;BR /&gt;I took your data above, created a table, brought it into ExpB, created simple views for each of the filters (so, just two views), created the filters referring Filter 1 to View 1 etc,&amp;nbsp; and added Data Connected text boxes for the output, each text box containing the appropriate expression.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://experience.arcgis.com/experience/438103e6c4c546338dd42aa516d27506/" target="_blank"&gt;https://experience.arcgis.com/experience/438103e6c4c546338dd42aa516d27506/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As said, it's rough, but may help you with ideas.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 23:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1083791#M2510</guid>
      <dc:creator>JonathanMcDougall</dc:creator>
      <dc:date>2021-07-28T23:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Return values based on SQL queries and dropdowns?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1084049#M2518</link>
      <description>&lt;P&gt;That's amazing! You really went above and beyond.&lt;/P&gt;&lt;P&gt;How do you create a view, though? The big issue I kept running into was being unable to get text boxes to show data from JUST 1 filter set if that makes sense.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 16:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1084049#M2518</guid>
      <dc:creator>DrewPhillips3</dc:creator>
      <dc:date>2021-07-29T16:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Return values based on SQL queries and dropdowns?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1084084#M2519</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/336613"&gt;@DrewPhillips3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll take some screenshots and post up here a wee bit later. I'm in the UK so it's time for dinner &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Glad to be of help.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 17:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1084084#M2519</guid>
      <dc:creator>JonathanMcDougall</dc:creator>
      <dc:date>2021-07-29T17:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Return values based on SQL queries and dropdowns?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1085423#M2550</link>
      <description>&lt;P&gt;I'm getting close to figuring this out... From your incredibly helpful advice, I have 2 filters (for one company) that pass their queries to a table that shows selected values. These widgets live in a view. But I'm still struggling with getting the text box to show the dynamic values that I want. It seems like the settings I've chosen would work... but I can't figure it out! I must be missing something related to views...&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 18:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1085423#M2550</guid>
      <dc:creator>DrewPhillips3</dc:creator>
      <dc:date>2021-08-03T18:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Return values based on SQL queries and dropdowns?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1085429#M2551</link>
      <description>&lt;P&gt;I'm going to reply to myself and say that I found the issue! In the text box pane, I was choosing the "Selected Features" option. I assumed that this meant that selected == filtered, which is not the case. I changed the checkbox to "Default" and it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To have another section with another view doing the same thing for different queries, do I have to upload the data again? I'm having trouble ensuring that the queries result in different views.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 19:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/return-values-based-on-sql-queries-and-dropdowns/m-p/1085429#M2551</guid>
      <dc:creator>DrewPhillips3</dc:creator>
      <dc:date>2021-08-03T19:01:34Z</dc:date>
    </item>
  </channel>
</rss>

