I have some KPIs that are calculated based on the unfiltered population and some that are filtered by selections, but now I want the population to be flexible and since I have multiple filters that are applicable I need those KPIs to be flexible too. It does not work if I set the variables to not static because then some KPIs are calculated incorrectly with the sheet filters and selections even if i calculate them with the GLOBAL function.
You can think of it as two populations. The first population is the basis for the main KPIs which is filtered by more generic filters but not with selections. The second population is the filtered first population which is the basis for more KPIs and visuals which can then be selected.
If anyone could think of a better way to do this I am all ears too because if I can assign multiple values to a static variable then I will have to implemented x Case When statements to check for which filters are active.