I have an enterprise portal dashboard that contains multiple indicators from the same hosted feature layer. Each dashboard is filtered based on user interactive list selection from the same hosted feature layer. I need to do calculations based on the dynamically filtered values (i.e. sum a set of attribute values selected by the user and then subtract this sum from a constant). I've tried coding this in arcade, but as soon as I interactively apply the filter through choosing an item on the list, the indicator notes "No Data". Am I going about this the wrong way? Is there another way to achieve my goal of showing the difference between the sum of the filtered values and some constant?
In an indicator, whatever value you're displaying should update based on applied filters. Using a set reference value for your subtraction is doable, too. I don't think you'd even need Arcade for it.
Can you give more information about how the filter is being applied, or what the data looks like? From your description, it sounds like you're approaching this the right way, but I would guess the filter isn't doing what you mean it to do somehow.