Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

What is the meaning of the formula?

What is the meaning of the formula?

=if(isnull([Job])=-1, 'Manager',[Job]) & ' Total Salary ($' & Chr(39) &'000)'

1 Solution

Accepted Solutions
alexandros17

If is true that the field job is null then show the text 'Manager' otherwise Show The value of the field Job followed by the text ' Total Salary ($'000)

hope this helps

View solution in original post

2 Replies
alexandros17

If is true that the field job is null then show the text 'Manager' otherwise Show The value of the field Job followed by the text ' Total Salary ($'000)

hope this helps

View solution in original post

rubenmarin

Hi, isnull() returns -1 when it's true, so:

if(isnull([Job])=-1, 'Manager',[Job]): Returns the Job or 'Manager' if Job is not set

& ' Total Salary ($' & Chr(39) &'000)': This part is weird, it will return a fixed text: " Total Salary ($'000)"