Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
FrankGrimm
Partner - Creator
Partner - Creator

filter to a measure

Hey together,

i have a table 

Destination:
Load * inline [
User,Office
Tom,New York
Frank,Dallas
Tom,Washington
James,Toronto
Frank,Paris
Tom,Tokio
Julia,Tokio
Julia,Paris
];

i can genertate very easy the diagram 

FrankGrimm_4-1653494041072.png

 

 

and the data-list of the diagram

FrankGrimm_5-1653494074963.png

 

 

 

i can sort for  "# of offices"

FrankGrimm_6-1653494095821.png

 

 

But i can´t set a filter to       "# of offices"

 

My idea is, to select all people who have 2 offices and use this filter for all worksheets.

 

Thanks a lot.

Frank

 

Labels (2)
1 Reply
vinieme12
Champion III
Champion III

Change the expression as below 

=If(count(distinct Office)>1,count(distinct Office))

 

OR 

 

count({<User={"=count(Distinct Office)>1"}>}distinct Office)

 

https://community.qlik.com/t5/Qlik-Design-Blog/The-Expression-Search/ba-p/1463907

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.