Select to view content in your preferred language

don't show null values in popup

4459
11
12-12-2023 07:00 AM
Labels (1)
temprobertcottreau131313
Frequent Contributor

I have a layer with about 50 fields that show up as 50 rows in the popup.  Most of these are Null values.

Is there a way to create an expression that will set it up to not show the fields with Null values in the popup without typing 50 expressions?

I've seen HTML solutions and ideas for Map Viewer Classic but I'm using the New Map Viewer.

Thanks to all.

Tags (3)
11 Replies
edward33
Regular Contributor

@BlairMcclenathan 

Do you know how I would add rounding to this? I tried something like-

'Flow Rate': round($feature.flow, 2)

in the return section but that doesn't seem to do anything.

0 Kudos
KimberlyK
Occasional Contributor

@edward33 Did you ever find a solution to your issue with formatting? I am experiencing the same thing. Thanks.

0 Kudos