Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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