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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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