Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

expression help

I am looking at one of the example somewhere was trying to figure out the below expression

=if(0 = $(variable), ' - ', $(variable))

What does this mean?

2 Replies
Clever_Anjos
Employee
Employee

It variable contains 0 value, it should return "-", otherwise, variable value

JonnyPoole
Employee
Employee

Its showing the value that the variable equals, with one minor exception in that if its 0 then show as '-'

A-> A

B-> B

C-> C

0->  -