Select to view content in your preferred language

Can Widgets in Experience Builder Dynamically (Sum) Based on what is shown on the map?

1190
1
Jump to solution
12-29-2023 08:42 AM
JonJones1
Frequent Contributor

Hi everyone, before I start building an Experience Builder app I need a little clarification. 

Does experience builder have a widget that changes its displayed text, like summing attribute values, based on the map’s zoom level? If so what is its name? 

For example, if I’m mapping mine sites and each mine has total employees listed as an attribute, does experience builder have a widget that can show a total sum the total number of employees as multiple mines are shown on the screen as I zoom in and out on the map? 

I know it is in the dashboard widgets but didn't know if so in the experience builder widgets. 

Sorry for the crazy simple question but just wondering.

0 Kudos
1 Solution

Accepted Solutions
rwrenner_esri
Esri Alum

On the map widget, you can add an Extent Changes action which filters the data records shown throughout the app:

rwrenner_0-1703877587296.png

Then, when you connect a text widget to Dynamic Content, you can use the Statistics tab to define your operator (SUM in your case, not COUNT as shown) and then the field which gets summed. 

rwrenner_1-1703877833021.png

rwrenner_2-1703877921688.png

Hope this helps!

-Rylee

View solution in original post

1 Reply
rwrenner_esri
Esri Alum

On the map widget, you can add an Extent Changes action which filters the data records shown throughout the app:

rwrenner_0-1703877587296.png

Then, when you connect a text widget to Dynamic Content, you can use the Statistics tab to define your operator (SUM in your case, not COUNT as shown) and then the field which gets summed. 

rwrenner_1-1703877833021.png

rwrenner_2-1703877921688.png

Hope this helps!

-Rylee