Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
JayDeckerMBA
Contributor
Contributor

GetSelectedCount in Geomaps Bubble

Hi Everyone,

I'm trying to get the customer location to show only when a region or employee is chosen from the filter boxes with geomaps. Currently trying


Region

=If(GetSelectedCount(Region)>0,1,0)

Same for employee. Won't return anything on the geomap when

Bonus question. Is is possible to use an OR and combine them?

Labels (3)
1 Solution

Accepted Solutions
Filippo_Nicolussi_P

Hello @JayDeckerMBA 

 

inside the IF condition you could use the OR  logical operator and expand the final expression accordingly. 

=If(GetSelectedCount(Region)>0 or GetSelectedCount(Employee)>0 ,1,0) 

Will suggest however to evaluate the integration with the GetPossibleCount() instead.  

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!

View solution in original post

1 Reply
Filippo_Nicolussi_P

Hello @JayDeckerMBA 

 

inside the IF condition you could use the OR  logical operator and expand the final expression accordingly. 

=If(GetSelectedCount(Region)>0 or GetSelectedCount(Employee)>0 ,1,0) 

Will suggest however to evaluate the integration with the GetPossibleCount() instead.  

Help users find answers! Don't forget to mark a solution that worked for you! If already marked, give it a thumbs up!