Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
aj_954
Contributor III
Contributor III

how to exclude a value from being plotted in QLIK bar graph

Hi,

I have a data set that has the following:

Requesting Agency and Servicing Agency

I am trying to plot the count of  times of servicing agency, when the requesting agency = 'JAY'. 

 

Here is my code:

=if([Requesting Agency] = 'JAY',count([Servicing Agency]),1).

It works fine, however, if the Servicing Agency is = "jay" it also plots it. How do I exclude that value from being plotted. 

1 Reply
chris_djih
Creator III
Creator III

For this simple if statement, try to use set analysis:

Count( {<Requesting Agency={'JAY'}>} [Servicing Agency])

If you found help, mark the correct answer and give some likes to ALL contributors, that tried to help.