Gauge Data Expression for Percentage of Total

398
1
05-10-2023 11:34 AM
Labels (1)
EricDaechsel
New Contributor

I want to use a data expression in a Gauge dashboard element to display the percentage of one land use's area compared to the total area in the layer. The fields from the attribute table I'd use are LANDUSE and HECTARES.

The picture below would be the output I'm looking for.

GaugeExample.PNG

Thanks!

0 Kudos
1 Reply
jcarlson
MVP Esteemed Contributor

Could you just have a category selector filter the gauge data, but not the reference value? Or if it's static, just set the filter manually. No need for a data expression for this.

For instance, here's a US States layer from the Living Atlas. I can set the statistic and maximum value to a sum of population, then add a category selector: 

Peek 2023-05-10 15-19.gif

- Josh Carlson
Kendall County GIS
0 Kudos