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: 
francesctesi
Contributor II
Contributor II

Show rows where only all selected filters are present

Hi (I am quite inexperienced on qlik view)

I have a table and a filter available on the exam field, as shown in the figure.

image.png

 

I would like,selecting on the filter EXAM = TYPE1 and EXAM=TYPE2, to display only those rows that have both cases, and excluding records that have only one of the two exam types (as shown in the second figure)

image.png

 

 

Labels (1)
2 Replies
OmarBenSalem

Put this as a dimension instead of Name:

=if(GetSelectedCount(Exam)=0,Name, aggr(only({<Name={"=count(distinct Exam)=GetSelectedCount(Exam)"}>} Name),Name,Exam))

result :

OmarBenSalem_0-1678897612102.png

 

 

you select Type1 and Type2 :

OmarBenSalem_1-1678897634759.png

 

francesctesi
Contributor II
Contributor II
Author

But this is possibile also in Qlik View? if I have many columns other than "name", how would it change the expression?