Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Par123
Contributor III
Contributor III

Conditional expression without if statement

Hi All,

Can I write a conditional expression without if statement.

I have some dimensions and expressions in a straight table.

I want to display two expressions (Suppose, X,Y) only when dimension (suppose A) A = 1.

if A=1 show all expressions including X and Y.

if A other than 1 show all expressions except X and Y.

Can I simply write A=1 in the conditional statement of those two expressions (without any if statement)?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

You absolutely can. In fact, that's a nice way of writing such conditional expression.

View solution in original post

2 Replies
tresesco
MVP
MVP

You absolutely can. In fact, that's a nice way of writing such conditional expression.

Par123
Contributor III
Contributor III
Author

Thanks