<?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: pivot table does not summarize properly in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1616322#M95883</link>
    <description>&lt;P&gt;Have the same issue. ArcGIS Pivot table gives wrong SUM values (10..15% difference in cases I checked).&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 08:00:32 GMT</pubDate>
    <dc:creator>Emils</dc:creator>
    <dc:date>2025-05-20T08:00:32Z</dc:date>
    <item>
      <title>pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417156#M82568</link>
      <description>&lt;P&gt;Me again,&lt;/P&gt;&lt;P&gt;I'm running into a weird issue. I'm trying to use the pivot table tool to summarize data from a feature class. The idea is to have main class as rows and subclasses as column and get area total at intersection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnneMarieDubois_0-1714497149677.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102585i7C489B8B45DA5585/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnneMarieDubois_0-1714497149677.png" alt="AnneMarieDubois_0-1714497149677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, I use a cursor to sum all subclasses value into a new total main class column.&lt;/P&gt;&lt;P&gt;While trying to validate the cursor coding results, I noticed that I didn't get the same total values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnneMarieDubois_1-1714497434884.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102586i18CA1E053FE33B5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnneMarieDubois_1-1714497434884.png" alt="AnneMarieDubois_1-1714497434884.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have exported my raw data to excel and tried to figure out what the problem is and from what I get, the pivot tool does not calculate correctly the area sums (or at least not for all classes??).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnneMarieDubois_2-1714497728817.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102587i91589D85923487A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnneMarieDubois_2-1714497728817.png" alt="AnneMarieDubois_2-1714497728817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea about what causes this? There is no selection or subfiltrer on the input data to pivot table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 17:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417156#M82568</guid>
      <dc:creator>Anne-MarieDubois</dc:creator>
      <dc:date>2024-04-30T17:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417161#M82571</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/pivot-table.htm" target="_blank"&gt;Pivot Table (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are some warnings in the tool useage about uniqueness (Frequency) and nulls, which you have, but the tool didn't fail though&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 17:32:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417161#M82571</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-04-30T17:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417166#M82572</link>
      <description>&lt;P&gt;You mean that because certain class/subclass combination don't have a value it would explain the wrong totals?&lt;/P&gt;&lt;P&gt;Because I got no error while running the tool and it completed everytime.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 17:44:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417166#M82572</guid>
      <dc:creator>Anne-MarieDubois</dc:creator>
      <dc:date>2024-04-30T17:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417175#M82573</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/frequency.htm" target="_blank"&gt;Frequency (Analysis)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The implication is that if a combination doesn't exist, you can't compare the individual totals via different methods&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 17:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417175#M82573</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-04-30T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417676#M82626</link>
      <description>&lt;P&gt;I'm not certain that &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/pivot-table.htm" target="_self"&gt;Pivot Table&lt;/A&gt; is the tool you should be using. I recently used it in a project and don't recall there being any summary operation. Pivot Table can be used to turn rows in a table into columns. Say, for example, you wanted to turn (or pivot) each of your main classes into columns.&lt;BR /&gt;&lt;BR /&gt;Can you try and explain, in another way, what type of summary you are trying to accomplish? Maybe there is a more appropriate tool like &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summary-statistics.htm" target="_self"&gt;Summary Statistics&lt;/A&gt; or &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/calculate-field.htm" target="_self"&gt;Calculate Field&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 17:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1417676#M82626</guid>
      <dc:creator>MarkGilbert</dc:creator>
      <dc:date>2024-05-01T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1485459#M84196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/357488"&gt;@MarkGilbert&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Basically I needed the values in this column (TYPE_ARBRE)...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnneMarieDubois_3-1717604028272.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106259i8B30F465037F3D89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnneMarieDubois_3-1717604028272.png" alt="AnneMarieDubois_3-1717604028272.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;...to become new column and sum based on another column (TAILLE)&lt;/P&gt;&lt;P&gt;and give something like that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnneMarieDubois_2-1717603911143.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106258i753ADE4549078F72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnneMarieDubois_2-1717603911143.png" alt="AnneMarieDubois_2-1717603911143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I finally ended converting table to numpy array then to padas dataframe in order to get what I wanted without summing errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 16:12:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1485459#M84196</guid>
      <dc:creator>Anne-MarieDubois</dc:creator>
      <dc:date>2024-06-05T16:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1486482#M84270</link>
      <description>&lt;P&gt;I'm not sure if Pivot Table would have worked for your scenario since the combination of Input Field, Pivot Field, and Value Field have to be unique.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I needed one row for each GEOID with SHORT_DESC as the columns and VALUE as the value field. But there are duplicate combinations of my inputs and I don't believe Pivot Table has any aggregation methods. Might have to aggregate in some fashion before using Pivot Table.&lt;/P&gt;&lt;P&gt;I had to concatenate SHORT_DESC with DOMAIN_DESC and DOMAINCAT_DESC in order to get the required uniqueness for the tool. Ultimately I ran Pivot Table with GEOID as the Input Field, Long_Desc (concatenation of three text fields), as the Pivot Field, and VALUE as the Value Field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Pivot Table.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106400i773674BCC57B6032/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pivot Table.jpg" alt="Pivot Table.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I realize that you already have a solution, but I was so pleased with the Pivot Table tool that I wanted to share my experience in case others find it helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 17:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1486482#M84270</guid>
      <dc:creator>MarkGilbert</dc:creator>
      <dc:date>2024-06-06T17:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: pivot table does not summarize properly</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1616322#M95883</link>
      <description>&lt;P&gt;Have the same issue. ArcGIS Pivot table gives wrong SUM values (10..15% difference in cases I checked).&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 08:00:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/pivot-table-does-not-summarize-properly/m-p/1616322#M95883</guid>
      <dc:creator>Emils</dc:creator>
      <dc:date>2025-05-20T08:00:32Z</dc:date>
    </item>
  </channel>
</rss>

