Hello,
In ArcGIS Dashboard, I managed to create an indicator with an advanced expression but I can figure out how to configure "action" on it.
By action I mean the fact that when a selector is set to a category, my indicator would only use the data of this category. Thanks a lot in advance 🙂
Whatever category variable you want your selector to work against needs to be present in the data expression as well. Unless your selector is looking at the same data expression, you'll have to define source:destination field mapping on the action, so you need to make sure a matching field is on both sides.
Hello @jcarlson and thank you,
The fields present in the expression and the selector are already mapped and functionnal.
The problem is that the calcul of which I want to show the result is performed on the whole layer via the "FeatureSetByPortalItem" but I want to do the calcul only with the data selected with the action.
Frank
Hello,
You get results on your entire layer because your calculations are done outside your loop.
These pre-calculations must be integrated into the loop.
I hope this helps you a bit
Hi @explocarto, thanks for your answer.
Indeed, moreover the "loop" is the entire "data expression".
In order to obtain the same result with an expression in the "advanced formating" section, I would need to suceed in one of the following :
Bypass the unavailability of the "Filter" command in the expression editor
Manage to create a second reference (because it allow to filter) and use them in my expression
Thanks!
Frank
I am dealing with a similar issue. Did you figure out how to do this?