<?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: Pulldata not working on web form but is working in Survey123 app in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336271#M52183</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What you're doing makes sense, but I don't see anything in the pulldata doc that supports multiple criteria like you've specified. I recommend that you request this as a new feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;In the meantime, a crude workaround would be to concatenate the zip and fiscal year columns into a third column in the CSV and then do a single criteria lookup based on that other column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Let's call that third field fiscal_year_zip. Concatenate the fiscal year and zip fields into that third field with a - (dash) between the two fields for readability.&amp;nbsp;You can do this automatically with an Excel concat function, but understand that the function will be collapsed to values when saving the CSV file.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You could then revise your pulldata as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pulldata('per_diem_rates', 'meals', 'fiscal_year_zip', ${class_zip}-${class_year})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm doing this off the top of my head, so I might well be missing something.&lt;/P&gt;&lt;P&gt;Chip&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 13:35:29 GMT</pubDate>
    <dc:creator>ChipMorgan65</dc:creator>
    <dc:date>2023-10-09T13:35:29Z</dc:date>
    <item>
      <title>Pulldata not working on web form but is working in Survey123 app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336171#M52179</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a linked CSV file that has per diem rates in it.&amp;nbsp; I am trying to use the pulldata function to bring in rates based on the zip code and fiscal year.&amp;nbsp; The function works perfectly in Survey123 Connect version 3.18.124 and in the survey app however it won't load anything when using a web browser.&amp;nbsp; I can't figure out why it works in the app but not on the web.&amp;nbsp; I have a different CSV file for employee information in this same form using the same functionality and it works perfectly.&lt;/P&gt;&lt;P&gt;Here is the calculation.&amp;nbsp; "per_diem_rate" is the name of the csv files, meals is where the number I need returned is location, zip and fiscalyear are the two fields I am filtering by.&lt;/P&gt;&lt;P&gt;pulldata('per_diem_rates', 'meals', 'zip', ${class_zip}, 'fiscalyear', ${class_year})&lt;/P&gt;&lt;P&gt;&lt;A href="https://sedonafire-my.sharepoint.com/:f:/g/personal/bespiau_sedonafire_org/Erw8ueQt57tPoOLWt87VFS0Bn0KT7KYrywnZUOp1QKLPrA?e=fXxkQU" target="_self"&gt;XLS_and_CSV_Files&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="GSA_Calc.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/82639i0632FB58EAAEEC6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GSA_Calc.jpg" alt="GSA_Calc.jpg" /&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>Sun, 08 Oct 2023 22:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336171#M52179</guid>
      <dc:creator>BEdwards</dc:creator>
      <dc:date>2023-10-08T22:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata not working on web form but is working in Survey123 app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336271#M52183</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What you're doing makes sense, but I don't see anything in the pulldata doc that supports multiple criteria like you've specified. I recommend that you request this as a new feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;In the meantime, a crude workaround would be to concatenate the zip and fiscal year columns into a third column in the CSV and then do a single criteria lookup based on that other column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Let's call that third field fiscal_year_zip. Concatenate the fiscal year and zip fields into that third field with a - (dash) between the two fields for readability.&amp;nbsp;You can do this automatically with an Excel concat function, but understand that the function will be collapsed to values when saving the CSV file.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You could then revise your pulldata as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pulldata('per_diem_rates', 'meals', 'fiscal_year_zip', ${class_zip}-${class_year})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I'm doing this off the top of my head, so I might well be missing something.&lt;/P&gt;&lt;P&gt;Chip&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 13:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336271#M52183</guid>
      <dc:creator>ChipMorgan65</dc:creator>
      <dc:date>2023-10-09T13:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata not working on web form but is working in Survey123 app</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336322#M52189</link>
      <description>&lt;P&gt;Thanks for help!&amp;nbsp; I had to create a separate field in survey123 to concatenate the ${class_zip} and ${class_year} fields but I was able to then filter by the new field and it did work on both the app and web.&amp;nbsp; I will put in for a feature request to be able to filter by multiple columns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 16:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-not-working-on-web-form-but-is-working-in/m-p/1336322#M52189</guid>
      <dc:creator>BEdwards</dc:creator>
      <dc:date>2023-10-09T16:21:32Z</dc:date>
    </item>
  </channel>
</rss>

