<?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: Help with Calculating Percentage in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146312#M51789</link>
    <description>&lt;P&gt;I am attempting to calculate this for the table using the Calculate Field function from within the attribute table. I have attached photos of my code and the attribute table. I have seen others successfully calculate percentage for their tables using this method. I am just confused as to why the table is not responding correctly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 00:40:58 GMT</pubDate>
    <dc:creator>TheACG7</dc:creator>
    <dc:date>2022-02-22T00:40:58Z</dc:date>
    <item>
      <title>Help with Calculating Percentage</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146303#M51786</link>
      <description>&lt;P class=""&gt;I am attempting to calculate the area of shade as opposed to no shade in an area.&lt;/P&gt;&lt;P class=""&gt;I have created the table which has two objects: 'Shade' and 'No Shade'. I then have a field for the total area for both of these objects. I now want to calculate the percentage for these two objects. I have created a 'Percent' field and am now attempting to calculate the field. The total area for 'Shade' and 'No Shade' is 171,808.9.&lt;/P&gt;&lt;P class=""&gt;The code I am running is: !SUM_Shape_Area! / 171,808.9 * 100&lt;/P&gt;&lt;P class=""&gt;When I run this, I get no error messages, however the Percent field remains NULL.&lt;/P&gt;&lt;P class=""&gt;While trying to figure out the issue, I ran a simpler code of !Sum_Shape_Area! / 2.&lt;/P&gt;&lt;P class=""&gt;This ran fine and resulted in the Percent field simply having a value of half of the SUM_shape_area field.&lt;/P&gt;&lt;P class=""&gt;Does anyone know why this percent calculation is not working?&lt;/P&gt;&lt;P class=""&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 00:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146303#M51786</guid>
      <dc:creator>TheACG7</dc:creator>
      <dc:date>2022-02-22T00:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Calculating Percentage</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146307#M51787</link>
      <description>&lt;P&gt;Are you doing this on a row by row basis?&amp;nbsp; it isn't clear from your question.&lt;/P&gt;&lt;P&gt;If you want if for the table, then see&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summary-statistics.htm" target="_blank"&gt;Summary Statistics (Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 00:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146307#M51787</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-22T00:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Calculating Percentage</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146312#M51789</link>
      <description>&lt;P&gt;I am attempting to calculate this for the table using the Calculate Field function from within the attribute table. I have attached photos of my code and the attribute table. I have seen others successfully calculate percentage for their tables using this method. I am just confused as to why the table is not responding correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 00:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146312#M51789</guid>
      <dc:creator>TheACG7</dc:creator>
      <dc:date>2022-02-22T00:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Calculating Percentage</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146314#M51790</link>
      <description>&lt;P&gt;Is see... try dumping the comma in the number, it is yielding unexpected results if python is being used&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;1000/1,000
(1000.0, 0)

1,000/1,000
(1, 0.0, 0)

1000/1000
1.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 00:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146314#M51790</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-22T00:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Calculating Percentage</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146315#M51791</link>
      <description>&lt;P&gt;Thank you! Just a simple overlook on my part.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 00:53:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-calculating-percentage/m-p/1146315#M51791</guid>
      <dc:creator>TheACG7</dc:creator>
      <dc:date>2022-02-22T00:53:11Z</dc:date>
    </item>
  </channel>
</rss>

