Hello,
I am trying to create a conditional in my report regarding the name of whatever observation happens to have a certain max value. In my case, I need to report the highest appurtenance on a telecom tower, and if that appurtenance is or is not the lightning rod. I have the survey set up so that the technician answers whether or not the lightning rod is the highest appurtenance, so that part is easy. So is finding the highest appurtenance.
What is holding me up is that if the lightning rod is not the highest appurtenance, I would like to automate the reporting of the name of the appurtenance that is the highest. Is this possible? I want to believe it is through some kind of getValue usage, but I am not sure what that is.
My max calculation is thus: max(${lightning_agl}, ${sector_eq_shield_agl}, ${lone_antenna_shield_agl})
Any help with the syntax here would be really appreciated. Thank you!