We are trying to configure pop-up and one of the requirements is to display certain fields based on an query.
example, if field A = 1 then display field X, Y, Z and the value in these fields
else if field A = 2 then display field X and Y only and the value in these fields.
else if field A = 3 then display field Z only and the value in these fields.
We tried to use Arcade expression but it seems to be either adding new rows with variable name in Arcade and then pulling up values from these fields. I don't want to join them or have any new rows from Arcade variable.
Does anyone have configured such pop-ups and will it has potential to be an issue later on once we publish web maps?
Any directions will be helpful.