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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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

Labels (1)
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..