Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
francesctesi
Contributor III
Contributor III

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 III
Contributor III
Author

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