Select to view content in your preferred language

Query result actions (Statistics) in Experience builder

791
1
09-20-2023 03:48 PM
Labels (1)
Jan_VincentPunzalan
Occasional Contributor

What is the Experience Builder equivalent, of the WebAppBuilder's Query widget's statistics result action? I can't seem to figure out where this setting is to turn it on as a data action on the Experience Builder's query widget. Here are some examples, because I think I can show you better than I can tell you.

Here is the result of one of the current queries from my web app. 

Jan_VincentPunzalan_1-1695249532245.png

When I click on the three dots (ellipsis?) it gives me a set of actions I can take on the output layer created by my query. I'm mostly concerned with the "Statistics" action.

Jan_VincentPunzalan_2-1695249668633.png

Experience builder query settings, where is the thing to turn on statistics as a data action?

Jan_VincentPunzalan_3-1695249959897.png

How do I get this back in Experience Builder? Is this no longer available? 

0 Kudos
1 Reply
TonghuiMing
Esri Regular Contributor

This feature has not yet been provided by data action, and we are currently evaluating it. You can also post it in the Ideas channel or raise it up to support as an ENH request.

 

At this time, you might be able to work around it with a dynamic text configured with expressions:

- Add a Text widget > connect it with the Query output data source, and use the "Selected features" view [if you want to see statistics for each result item]; use the "Default" view if you want to see statistics for all results without any selection needed

- Configure the expression inside Text dynamic content (expr builder). Something like this:

TonghuiMing_0-1695261168714.png

- When you click on the query result, it will give you the calculated statistic results

TonghuiMing_1-1695261250521.png

 

0 Kudos