<?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 it possible to summarize field values with dynamic text in a layout? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-possible-to-summarize-field-values-with/m-p/1038599#M38779</link>
    <description>&lt;P&gt;Hi &lt;SPAN&gt;Marie-Joëlle,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have you looked at &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/layouts/add-dynamic-text.htm#GUID-890A21B3-C174-48EF-A33A-CC6A83DC4AAA" target="_self"&gt;Table Dynamic Text&lt;/A&gt;?&amp;nbsp; You should be able to use the &lt;STRONG&gt;Custom query&lt;/STRONG&gt; option to define the category and subset for each text item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can access a number of table statistics from the Dynamic Text gallery.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-19 053457.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8918iDA0AD6D05B7BBAD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-11-19 053457.png" alt="Screenshot 2020-11-19 053457.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once you've clicked the statistic that you want you will get a dialog where you can choose the query type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot1.png" style="width: 387px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8921iA9CE9F57DE478DA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot1.png" alt="Screenshot1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Choosing Custom query will give you a button "New expression".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot2.png" style="width: 306px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8922iC8EC7F9C22AA7C0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot2.png" alt="Screenshot2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Click "New expression" and you should see the expression builder. Use this to build your expression.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot3.png" style="width: 309px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8923i4950E12714A76694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot3.png" alt="Screenshot3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using Custom query will a set a "static" query and will not adjust a result based on what features are in the map view - that is, "summarize&amp;nbsp;the visible features in my map for these subgroups within this category".&amp;nbsp; In order to have a custom query &lt;STRONG&gt;&lt;EM&gt;and&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;a spatial query active on the text element you would need to write some code using &lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/introduction-to-arcpy-mp.htm" target="_self"&gt;ArcPy.mp&lt;/A&gt;&lt;SPAN&gt; (python).&amp;nbsp; Here are some &lt;A href="https://esriurl.com/8899" target="_self"&gt;samples&lt;/A&gt; you find interesting. The &lt;A href="https://www.arcgis.com/home/item.html?id=eba53351ceb84b58b505dec5272e526c" target="_self"&gt;Thematic Map Series&lt;/A&gt; sample may provide some helpful - even though you may not be interested in a map series, the sample may provide ideas on how to use ArcPy.mp to set temporary queries on layers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 12:51:35 GMT</pubDate>
    <dc:creator>TomBole</dc:creator>
    <dc:date>2021-03-19T12:51:35Z</dc:date>
    <item>
      <title>Is it possible to summarize field values with dynamic text in a layout?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-possible-to-summarize-field-values-with/m-p/1038143#M38731</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Here is what i'm trying to do:&lt;/P&gt;&lt;P&gt;I have a layout showing different types of plants. What I would like to do is to make a summarize so we know how many plants we need to buy from each kind. So far, I only have been able to show a list of the attributes with a table frame:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marie-JoëlleDesgagné_0-1616083161355.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8796iB486F77C553B6016/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marie-JoëlleDesgagné_0-1616083161355.png" alt="Marie-JoëlleDesgagné_0-1616083161355.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I would like to se is something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marie-JoëlleDesgagné_1-1616083472614.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8797i36003E12C8C0DC02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marie-JoëlleDesgagné_1-1616083472614.png" alt="Marie-JoëlleDesgagné_1-1616083472614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So there is 3 main categories and many of subtypes. I would like to see how many type of each is showing on the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 16:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-possible-to-summarize-field-values-with/m-p/1038143#M38731</guid>
      <dc:creator>Marie-JoëlleDesgagné</dc:creator>
      <dc:date>2021-03-18T16:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to summarize field values with dynamic text in a layout?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-it-possible-to-summarize-field-values-with/m-p/1038599#M38779</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Marie-Joëlle,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have you looked at &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/layouts/add-dynamic-text.htm#GUID-890A21B3-C174-48EF-A33A-CC6A83DC4AAA" target="_self"&gt;Table Dynamic Text&lt;/A&gt;?&amp;nbsp; You should be able to use the &lt;STRONG&gt;Custom query&lt;/STRONG&gt; option to define the category and subset for each text item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can access a number of table statistics from the Dynamic Text gallery.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-19 053457.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8918iDA0AD6D05B7BBAD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-11-19 053457.png" alt="Screenshot 2020-11-19 053457.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once you've clicked the statistic that you want you will get a dialog where you can choose the query type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot1.png" style="width: 387px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8921iA9CE9F57DE478DA7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot1.png" alt="Screenshot1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Choosing Custom query will give you a button "New expression".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot2.png" style="width: 306px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8922iC8EC7F9C22AA7C0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot2.png" alt="Screenshot2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Click "New expression" and you should see the expression builder. Use this to build your expression.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot3.png" style="width: 309px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8923i4950E12714A76694/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot3.png" alt="Screenshot3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using Custom query will a set a "static" query and will not adjust a result based on what features are in the map view - that is, "summarize&amp;nbsp;the visible features in my map for these subgroups within this category".&amp;nbsp; In order to have a custom query &lt;STRONG&gt;&lt;EM&gt;and&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;a spatial query active on the text element you would need to write some code using &lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/introduction-to-arcpy-mp.htm" target="_self"&gt;ArcPy.mp&lt;/A&gt;&lt;SPAN&gt; (python).&amp;nbsp; Here are some &lt;A href="https://esriurl.com/8899" target="_self"&gt;samples&lt;/A&gt; you find interesting. The &lt;A href="https://www.arcgis.com/home/item.html?id=eba53351ceb84b58b505dec5272e526c" target="_self"&gt;Thematic Map Series&lt;/A&gt; sample may provide some helpful - even though you may not be interested in a map series, the sample may provide ideas on how to use ArcPy.mp to set temporary queries on layers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 12:51:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-it-possible-to-summarize-field-values-with/m-p/1038599#M38779</guid>
      <dc:creator>TomBole</dc:creator>
      <dc:date>2021-03-19T12:51:35Z</dc:date>
    </item>
  </channel>
</rss>

