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

Show row if

Hi,

I am new to Qlik sense so I'm sure my question is an easy one.

I have added a table chart with 4 columns

I want to the table to show only rows that the "severity" is "Critical" and "Exploit available" is "yes"

How do I do that?

 

NoamRotter_0-1703794638013.png

 

Thanks in advance 

Noam.

Labels (5)
1 Solution

Accepted Solutions
Aditya_Chitale
Specialist
Specialist

Use this expression in the 'Name' Column and uncheck include null values checkbox from this column.

=if(Severity='Critical' and ExploitAvailable='Yes', Name, null())

Regards,

Aditya

View solution in original post

7 Replies
MatheusC
Specialist
Specialist

@NoamRotter 

If you have a measurement expression, you can limit it directly in the expression ex:

sum({<severity={"Critical"} , Exploit={"yes"}>}totalSale)

Let me know if there are any more details, or if this helps.

Att, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
jchx
Contributor III
Contributor III

Hi @NoamRotter 

How I approach these types of requirements is to create master dimensions, as it allows for easier maintenance of the dashboard going forward.

Go to the "Master Items" pane > create 2 new master dimensions with the following expressions:

1) if(match(Severity, 'Critical'), Severity, null())

2) if(match(Exploit Available, 'Yes'),Exploit Available, null())

After this, use these 2 new dimensions in your table instead. Remember to uncheck "Include Null Values" for each dimension.

 

anat
Master
Master

in dimension you can apply below logic for Name field 

if (severity="Critical" and  Exploit="yes",Name)

 

Aditya_Chitale
Specialist
Specialist

Use this expression in the 'Name' Column and uncheck include null values checkbox from this column.

=if(Severity='Critical' and ExploitAvailable='Yes', Name, null())

Regards,

Aditya

Ahidhar
Creator III
Creator III

try this

if(Severity='Critical' , Severity , null())

if("Exploit Available"='yes' , "Exploit Available",null())

and uncheck include null values

NoamRotter
Contributor II
Contributor II
Author

Thank you everyone for replying to my question!

your answers were very helpful!

NoamRotter
Contributor II
Contributor II
Author

I liked your approach very much!