I'm monitoring project status. Each project comprises a number of activities that are assigned a RAG (Red/Amber/Green) status. If any of the project's constituent activities is marked as Red, then the project status is set to Red. If any activity is Amber (and none is Red), the Project status is Amber. I assign numeric values to each Activity's RAG status and select the maximum value (SUBSET_MAX()) for each project to set the colour of its Project (RAG) Status.
In the attached snippet, I have one project and three activities. The activities are, respectively, Red, Amber and Green. When I filter out the completed activity (Red), I was hoping to see the Project status change, as now there's only a Green and an Amber in play. That doesn't happen - the overall project status stays Red, even when I show only the open activity, which is Green.
Is there a way to make SUBSET() functions recalculate on just filtered data? Or am I going the wrong way about this?
Kevin - Currently, functions/formulae evaluate across the entire ALL data set, not any brushed, filtered IN or otherwise interactively-defined subsets. Subset functions allow you to pre-define multi-field conditional subsets across which to apply a given formula, but they do not currently further react to ad-hoc filtering or brushing the way a Named Query can when intersected with filtering.
Presently, the only way to get more user interaction with Subset function results is to use Variables as values within the Subset formulae. This permits the end user to dynamically select one or more conditional value thresholds to define the subset (using only the pre-defined fields) across which the formula should be evaluated.
Have a look at the Add Variable options to see if there is a way to get close enough to what you want this way.