Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
PrashantRupani
Creator
Creator

If then else case not working fine in QS

Hi,

I have a problem statement : 

I have two values in the filter : A, B.

1. if value 'A' is selected in the filter then show 0 on the charts else write the set analysis expression. The set analysis expression is working as standalone but not able to write the if then else..

2. Also what will display in the charts if no value is selected in the filter. By Default , no value will be selected in the filter.

Thank you.

Labels (1)
1 Reply
Anil_Babu_Samineni

You mean like this

1. If(Field='A', 0, <Set Expression>)

2. You can add condition for validation

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful