<?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: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate? in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428531#M951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm.&amp;nbsp; That's a little more involved.&amp;nbsp; So you'd want the mean of all the non-null values, excluding the number of null values in the calculation of the mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to work with the Select by Attributes tool to narrow down each of the conditions you want, and then right click on the flow field and get the statistics for the values.&amp;nbsp; Of course, this assumes the flow field is of numeric type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may seem a little clunky at first, but it's going to be a lot easier than trying to do it in a model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/mapping/navigation/select-features-using-attributes.htm"&gt;select by attributes in ArcGIS Pro&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2020 19:51:11 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2020-07-16T19:51:11Z</dc:date>
    <item>
      <title>..</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428526#M946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 16:24:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428526#M946</guid>
      <dc:creator>SofiaScott</dc:creator>
      <dc:date>2020-07-16T16:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428527#M947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's start with some nomenclature.&amp;nbsp; See the table below.&amp;nbsp; It has two &lt;EM&gt;columns:&amp;nbsp;&lt;/EM&gt;ID and flow.&amp;nbsp; There are are six rows or records in the table. Notice the values of each column for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what using an iterator is going to gain for you, as I'm not sure exactly what your end product is intended to be.&amp;nbsp; You mention that for each ID you want the same flow value.&amp;nbsp; Look at the records where ID = 1 and notice that there are two records, one with a &amp;lt;null&amp;gt; value for flow the other with a value of 5.&amp;nbsp; If all you want is all the rows where ID = 1 to have a flow value of 5, just make a selection for those where ID = 1 and use the field calculator to up.date all those records such that flow = 5. (Or what ever value you want them to be)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/500506_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I recall, an iterator in model builder is a conditional statement, like&amp;nbsp; &lt;EM&gt;if some condition is true&lt;/EM&gt;, do something or &lt;EM&gt;while some condition is true&lt;/EM&gt;, do something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking to preserve the the non-null values in the flow column or are you looking to update the flow values based on the ID as I show above?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 18:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428527#M947</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-07-16T18:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428528#M948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just looking to&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;update the flow values based on the ID as you show above. How would you do that with the field calculator?&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 18:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428528#M948</guid>
      <dc:creator>SofiaScott</dc:creator>
      <dc:date>2020-07-16T18:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428529#M949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, if there are 3 columns with and ID of 1, one with a flow value of Null, another with a value of 4 and the last with a value of 2, I would want it to assign the one with a value of Null the average between the other two (2 &amp;amp; 4) to get a value of 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428529#M949</guid>
      <dc:creator>SofiaScott</dc:creator>
      <dc:date>2020-07-16T19:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428530#M950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you using?&amp;nbsp; &lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/making-field-calculations-making-simple-field-calc.htm"&gt;ArcMap&lt;/A&gt; or &lt;A href="https://pro.arcgis.com/en/pro-app/help/data/tables/fundamentals-of-field-calculations.htm"&gt;ArcGIS Pro&lt;/A&gt;?&amp;nbsp; Choose the appropriate help link.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428530#M950</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-07-16T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428531#M951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm.&amp;nbsp; That's a little more involved.&amp;nbsp; So you'd want the mean of all the non-null values, excluding the number of null values in the calculation of the mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to work with the Select by Attributes tool to narrow down each of the conditions you want, and then right click on the flow field and get the statistics for the values.&amp;nbsp; Of course, this assumes the flow field is of numeric type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may seem a little clunky at first, but it's going to be a lot easier than trying to do it in a model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/mapping/navigation/select-features-using-attributes.htm"&gt;select by attributes in ArcGIS Pro&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428531#M951</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-07-16T19:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428532#M952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It needs to be in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 19:53:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428532#M952</guid>
      <dc:creator>SofiaScott</dc:creator>
      <dc:date>2020-07-16T19:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: I am using model builder. I have 2 rows: ID and flow. Multiple rows have the same ID and I want to get every row with the same ID the same flow number, as a lot have NULL values right now instead of a number. How do I do that using iterate?</title>
      <link>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428533#M953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it must be that this task is repeated from time to time and that's why you need a model?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 21:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/unreadable-title/m-p/428533#M953</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-07-16T21:46:29Z</dc:date>
    </item>
  </channel>
</rss>

