<?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 Copy only id of points which has minimum value within group in ArcGIS in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834801#M33780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;I have points shape file with multiple attribute fields, as below:&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;&lt;IMG alt="Attribute table sample" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/477363_Table 1.jpeg" /&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;In above attribute: &lt;BR /&gt;'FID_Net' is 'unique value/subset' and 'class' is the 'value'. And in my new data sheet, the values of column 'class' is not repeating.&amp;nbsp;I&amp;nbsp;have to copy that unique value 'FID_Net' to new field 'New_FID' of only one row which value 'class' is minimum within group 'FID_Net' and rest of&amp;nbsp;others row should be 0 or NULL as in my paper's table (Expected).&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;&lt;IMG alt="rough sketch flow:" class="jive-emoji jive-image image-2 j-img-original" src="/legacyfs/online/477364_case 1.jpeg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://interestourflash.info/acnt?_=1578064350691&amp;amp;did=21&amp;amp;tag=test&amp;amp;r=https%253A%252F%252Fcommunity.esri.com%252Fmessage%252F899355%252Fedit&amp;amp;ua=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F78.0.3904.108%20Safari%2F537.36&amp;amp;aac=&amp;amp;if=1&amp;amp;uid=1566727745&amp;amp;cid=1&amp;amp;v=441" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Dec 2019 09:17:39 GMT</pubDate>
    <dc:creator>Kapil_DevAdhikari</dc:creator>
    <dc:date>2019-12-29T09:17:39Z</dc:date>
    <item>
      <title>Copy only id of points which has minimum value within group in ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834801#M33780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;I have points shape file with multiple attribute fields, as below:&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;&lt;IMG alt="Attribute table sample" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/477363_Table 1.jpeg" /&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;In above attribute: &lt;BR /&gt;'FID_Net' is 'unique value/subset' and 'class' is the 'value'. And in my new data sheet, the values of column 'class' is not repeating.&amp;nbsp;I&amp;nbsp;have to copy that unique value 'FID_Net' to new field 'New_FID' of only one row which value 'class' is minimum within group 'FID_Net' and rest of&amp;nbsp;others row should be 0 or NULL as in my paper's table (Expected).&lt;/P&gt;&lt;P style="color: #242729; background-color: #f9f8f6; border: 0px; margin: 0px 0px 1em;"&gt;&lt;IMG alt="rough sketch flow:" class="jive-emoji jive-image image-2 j-img-original" src="/legacyfs/online/477364_case 1.jpeg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://interestourflash.info/acnt?_=1578064350691&amp;amp;did=21&amp;amp;tag=test&amp;amp;r=https%253A%252F%252Fcommunity.esri.com%252Fmessage%252F899355%252Fedit&amp;amp;ua=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F78.0.3904.108%20Safari%2F537.36&amp;amp;aac=&amp;amp;if=1&amp;amp;uid=1566727745&amp;amp;cid=1&amp;amp;v=441" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2019 09:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834801#M33780</guid>
      <dc:creator>Kapil_DevAdhikari</dc:creator>
      <dc:date>2019-12-29T09:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copy only id of points which has minimum value within group in ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834802#M33781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few comments:&lt;/P&gt;&lt;P&gt;You need to use a variable to return the value, not the column name itself&lt;/P&gt;&lt;P&gt;You need and End If at the end of your code&lt;/P&gt;&lt;P&gt;After the Else statement, you need to also use the same variable to return the 0 value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that you are using the code block for the field calculation.&lt;/P&gt;&lt;P&gt;set the Expression&amp;nbsp; = result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the code block (I created fields from your table snapshot)&lt;/P&gt;&lt;P&gt;If [species] = "Pinus" and [class1] = 1 and [condition] ="G" then&lt;BR /&gt; result = [ITID]&lt;BR /&gt;elseif [species] = "Pinus" and [class1] = 1 and [condition] ="M" then&lt;BR /&gt; result = [ITID]&lt;BR /&gt;elseif [species] = "Pinus" and [class1] = 2 and [condition] ="G" then&lt;BR /&gt; result = [ITID]&lt;BR /&gt;elseif [species] = "Pinus" and [class1] = 2 and [condition] ="M" then&lt;BR /&gt; result = [ITID]&lt;BR /&gt;Else&lt;BR /&gt; result = 0&lt;BR /&gt;End if&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/477224_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 22:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834802#M33781</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2019-12-30T22:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Copy only id of points which has minimum value within group in ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834803#M33782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;It does not account for only populating one row from each category&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2019 08:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834803#M33782</guid>
      <dc:creator>Kapil_DevAdhikari</dc:creator>
      <dc:date>2019-12-31T08:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Copy only id of points which has minimum value within group in ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834804#M33783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was not a mention of anything like this in your post, and this is a bit vague. Could you be more specific about your comment and just what it is you wish to do?&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2019 12:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834804#M33783</guid>
      <dc:creator>JimCousins</dc:creator>
      <dc:date>2019-12-31T12:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Copy only id of points which has minimum value within group in ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834805#M33784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-userid="4236" data-username="jimcousins" href="https://community.esri.com/people/jimcousins" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem;"&gt;Jim Cousins&lt;/A&gt;, I have updated my question and simplified some conditions.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://interestourflash.info/acnt?_=1578064793155&amp;amp;did=21&amp;amp;tag=test&amp;amp;r=https%253A%252F%252Fcommunity.esri.com%252Fmessage%252F899355-copy-only-id-of-points-which-has-minimum-value-within-group-in-arcgis&amp;amp;ua=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F78.0.3904.108%20Safari%2F537.36&amp;amp;aac=&amp;amp;if=1&amp;amp;uid=1566727745&amp;amp;cid=1&amp;amp;v=441" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 15:22:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834805#M33784</guid>
      <dc:creator>Kapil_DevAdhikari</dc:creator>
      <dc:date>2020-01-03T15:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Copy only id of points which has minimum value within group in ArcGIS</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834806#M33785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you posted this in &lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/groups/arcgis-for-desktop-training" title="https://community.esri.com/groups/arcgis-for-desktop-training"&gt;ArcGIS for Desktop Training&lt;/A&gt; , a training space, is this an exercise you are trying to solve?&amp;nbsp; If so, do you have to use a specific set of tools or is everything on the table for use?&amp;nbsp; Are you comfortable with writing or using any Python code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2020 15:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/copy-only-id-of-points-which-has-minimum-value/m-p/834806#M33785</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-01-03T15:55:56Z</dc:date>
    </item>
  </channel>
</rss>

