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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
psenthilbtech
Contributor III
Contributor III

If

Hi

Below is my requirement

How to handle this is ?

if Open, below condition 
Caseclosedyear is null
Caseraised year not null
Case status <> 69

if Closed, below condition 
Caseclosedyear not null
Case status <> 69

if Cancelled, below condition 
Caseraisedyear not null
Case status =69

 

Thanks

1 Reply
JordyWegman
Partner - Master
Partner - Master

Hi,

Try this:

IF( isnull(Caseclosedyear) and not isnull([Caseraised year]) and [Case status] <> 69, 'Open',
   IF( not isnull([Caseraised year]) and [Case status] <> 69, 'Closed',
        IF(  not isnull([Caseraised year]) and [Case status] = 69, 'Cancelled','Other status')
      )
)

Jordy

Climber

Work smarter, not harder