<?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: Is calculating a field based on another field from a joined table supported? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142160#M6980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/6534"&gt;Rob Blash&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if there is a restriction on calculation based on fields from a joined table. In Arcade however, you&amp;nbsp;don't need any joins to do this. You can just use the FeatureSetBy* functions to do the join on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the cardinality? Is is 1:1 or 1:n?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2020 19:34:58 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-01-07T19:34:58Z</dc:date>
    <item>
      <title>Is calculating a field based on another field from a joined table supported?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142159#M6979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 hosted feature services, a "production" HFS and an "updated" HFS. The production data was published from Pro, the updated data was published as a HFS from a zipped GDB upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created the join in AGOL based on a common ID, and saved the join as an HFS view. I want to update attributes in the production data from values in the update table. The underlying production HFS is editable. Seems like this should all be doable, but I get errors with SQL or Arcade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 17:01:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142159#M6979</guid>
      <dc:creator>RobBlash</dc:creator>
      <dc:date>2020-01-07T17:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is calculating a field based on another field from a joined table supported?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142160#M6980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/6534"&gt;Rob Blash&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if there is a restriction on calculation based on fields from a joined table. In Arcade however, you&amp;nbsp;don't need any joins to do this. You can just use the FeatureSetBy* functions to do the join on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the cardinality? Is is 1:1 or 1:n?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 19:34:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142160#M6980</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-01-07T19:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is calculating a field based on another field from a joined table supported?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142161#M6981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xander. I was hoping the join could do it for simplicity, but Arcade would work. The join in this case is 1:1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any example scripts for updating using FeatureSet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 19:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142161#M6981</guid>
      <dc:creator>RobBlash</dc:creator>
      <dc:date>2020-01-07T19:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is calculating a field based on another field from a joined table supported?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142162#M6982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/people/rblash"&gt;rblash&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have an example here. You should look at the second example. In your case it would be simpler since you have 1:1 relationship:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-12773"&gt;Using FeatureSetBy functions in Arcade to drill-down to other layers and tables&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions we can look specifically at your use case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 20:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142162#M6982</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-01-07T20:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is calculating a field based on another field from a joined table supported?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142163#M6983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I'll take a look&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 21:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-calculating-a-field-based-on-another-field-from/m-p/142163#M6983</guid>
      <dc:creator>RobBlash</dc:creator>
      <dc:date>2020-01-07T21:06:56Z</dc:date>
    </item>
  </channel>
</rss>

