<?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 Data Driven Pages Dynamic Text with if conditions in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-dynamic-text-with-if-conditions/m-p/520830#M5590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;--- I am using ArcGIS 10.3.1 ---&lt;/P&gt;&lt;P&gt;I am creating a series of language maps using data driven pages. On the side of the map I have a dynamic text box with the number and percentage of speakers of a&amp;nbsp;language. See image below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/449536_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Where the values are zero, I would like the text and value to disappear and only show the lines where there are data, like this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/449540_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to include an if statement in a text box that would do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If (the number of Dene speaker&amp;nbsp;greater than 0)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dene: &amp;lt;dyn type="page" property="attribute" field="DenePC" domainlookup="true"/&amp;gt;% [&amp;lt;dyn type="page"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;property="attribute" field="Dene_Nb" domainlookup="true"/&amp;gt; pers.]&lt;/P&gt;&lt;P&gt;else do nothing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2019 16:21:14 GMT</pubDate>
    <dc:creator>IsabelleBeaudin1</dc:creator>
    <dc:date>2019-06-03T16:21:14Z</dc:date>
    <item>
      <title>Data Driven Pages Dynamic Text with if conditions</title>
      <link>https://community.esri.com/t5/mapping-questions/data-driven-pages-dynamic-text-with-if-conditions/m-p/520830#M5590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;--- I am using ArcGIS 10.3.1 ---&lt;/P&gt;&lt;P&gt;I am creating a series of language maps using data driven pages. On the side of the map I have a dynamic text box with the number and percentage of speakers of a&amp;nbsp;language. See image below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/449536_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Where the values are zero, I would like the text and value to disappear and only show the lines where there are data, like this:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/449540_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to include an if statement in a text box that would do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If (the number of Dene speaker&amp;nbsp;greater than 0)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dene: &amp;lt;dyn type="page" property="attribute" field="DenePC" domainlookup="true"/&amp;gt;% [&amp;lt;dyn type="page"&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;property="attribute" field="Dene_Nb" domainlookup="true"/&amp;gt; pers.]&lt;/P&gt;&lt;P&gt;else do nothing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 16:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/data-driven-pages-dynamic-text-with-if-conditions/m-p/520830#M5590</guid>
      <dc:creator>IsabelleBeaudin1</dc:creator>
      <dc:date>2019-06-03T16:21:14Z</dc:date>
    </item>
  </channel>
</rss>

