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

GetFieldselections not working with AND Condition though working with OR Condition

Hi All,

 

GetFieldselections not working with AND Condition though working with OR Condition

=If(GetFieldselections(Crop)='Tomato' and GetFieldselections(Species)='Tomato',1,0)

 

Please Help!

Labels (1)
1 Reply
Prashant_N
Contributor III
Contributor III

Hi,

Its working fine as there is no issue in the syntax.

It might be that the data have space or something. use trim() for removing extra space or len() to calculate the size of selected value. yor will get to know the cause of it.

Regards,

Prashant