Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Qlikkers,
I am facing a complication in my qlik sense app. I have multiple filter panes with different fields. Now, I want a table that will have different measures based on which filter pane value I am choosing the filters from. For example-
The expression for SE measure in the tables are-
"=Sqrt(Sum( {1} Aggr(
((sqr(Sum(UtilityWt) - Sum(Total <CinemaStratum,Race> UtilityWt)/Count(DISTINCT ALL <CinemaStratum> CinemaPSU))) * (Count(DISTINCT ALL <CinemaStratum> CinemaPSU)/(Count(DISTINCT ALL <CinemaStratum> CinemaPSU)-1)))
, Race, CinemaStratum, CinemaPSU)))/4"
But I want the measure to be-
"=Sqrt(Sum( {1} Aggr(
((sqr(Sum(UtilityWt) - Sum(Total <CinemaStratum,Race> UtilityWt)/Count(DISTINCT ALL <CinemaStratum> CinemaPSU))) * (Count(DISTINCT ALL <CinemaStratum> CinemaPSU)/(Count(DISTINCT ALL <CinemaStratum> CinemaPSU)-1)))
, Race, CinemaStratum, CinemaPSU)))"
if I choose a filter from the filter pane- CinemaValue.
Any help is greatly appreciated.
I am attaching the dummy app for convenience. Thank you.
Have you tried using =if(getselectedcount(CinemaValue)=0, first expression, second expression)
Have you tried using =if(getselectedcount(CinemaValue)=0, first expression, second expression)
Hi @GaryGiles , thank you! That worked.