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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
KyriakosM
Contributor
Contributor

Select specific values from one field

Hi everyone,

Do you know how can i get values from Field 1 that does not contain 0 value in Field 2.
For example I would like to select only "BBB" and "DDD" from the table below: (red color)

Field 1 Field 2
AAA               1
AAA                       2
AAA                          0
BBB                      1
BBB                   2
CCC                      0
CCC                         2
DDD                        3



Labels (1)
2 Replies
Pierrick
Partner - Contributor III
Partner - Contributor III

Hello,

Do you want to do this in the script, in the visualization (set analysis) or in a selection filter ?

Ahidhar
Creator III
Creator III

in script you can use 

where Field 2<> '0';

and in Front End 

if(Field 2<>'0',Field 2)