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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If condition

Hello All,

Need some help,

I have an expression (calculated Dimension field)

=    if(GetSelectedCount(GP#) = 1 or GetSelectedCount(ClientName) = 1,CP_Cov_Prod,
     
if(GetSelectedCount(SGP#) = 1 or GetSelectedCount(SuperGPName) =1,SG_CP_Cov_Prod,SG_CP_Cov_Prod
            
))

The issue is that when no thing is selected the expression the else condition is not getting satisfied  should be one record as nothing is searched.

Thanks

P

1 Reply
Not applicable
Author

Why is there no difference between the return value of the second if-statement and the 'not condition satisfied' return value? Maybe that is the problem..