Skip to main content

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.

Can't your use case be solved by using the Text Replacement option which allows the variable to collect multiple values?

 

If you need both a static and a dynamic variable, can't you use multiple variables that are related, being the first one the static variable and the second one dynamic the dynamic variable and this last one being affected by the static one?

 

If these options still don't cover your case, could you please describe the issue with more granularity?

 

Kindest regards,

 


Reply