Data Driven Pages Dynamic Text with if conditions

510
0
06-03-2019 09:21 AM
IsabelleBeaudin1
New Contributor

--- I am using ArcGIS 10.3.1 ---

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 language. See image below.

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:  

Is there a way to include an if statement in a text box that would do something like this:

   If (the number of Dene speaker greater than 0) 

           Dene: <dyn type="page" property="attribute" field="DenePC" domainlookup="true"/>% [<dyn type="page"                       property="attribute" field="Dene_Nb" domainlookup="true"/> pers.]

else do nothing

0 Kudos
0 Replies