Select to view content in your preferred language

Can you add a conditional expression in dynamic text with reports?

2320
6
04-19-2019 10:06 AM
MichaelStranovsky
Regular Contributor

I would like to know if you can add a conditional expression in dynamic text to reports?   

for example,  have an element that would display an "X" if a conditional field value was true.

something like this:

<dyn type="report" property="X" field="Status='ADDITION'"/> 

Tags (2)
0 Kudos
6 Replies
AdrianWelsh
MVP Honored Contributor

Michael Stranovsky,

Any luck with this?

0 Kudos
MichaelStranovsky
Regular Contributor

No not yet

Get Outlook for Android<https://aka.ms/ghei36>

0 Kudos
AdrianWelsh
MVP Honored Contributor

Kory Kramer, is it possible to manipulate dynamic text using a faux conditional statement in ArcGIS Pro (reports or otherwise)?

0 Kudos
KoryKramer
Esri Community Moderator

What if you set up a field in the table that used Arcade to handle the condition?  Then show that field in the report.

AdrianWelsh
MVP Honored Contributor

I thought about that too but I didn't want to create a new field in my table since this is something that will be regenerated from time to time from a CSV table.

I was kind of also hoping for extra special statements to where if the field is "Yes" then the text background turns green. If "No" then it turns red... But that likely isn't something I can do in reports.

0 Kudos
KoryKramer
Esri Community Moderator

It looks like that request has been around for a while for attribute tables: https://community.esri.com/ideas/4642 I'm not sure about the technical feasibility of conditional formatting, but you could submit an idea for the same in ArcGIS Pro Reports!

0 Kudos