Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Talk to Experts Tuesday, Live Q&A, September 22: Moving from QlikView to Qlik Sense. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator
Creator

Help with list box expression with multiple 'if' conditions

Hi Experts,

Attached is my qvw file with sample date and requesting your help with an expression to create a list box with the following conditions.

If Total days = blank---->'Never loggedin'

If Fill Rate Admin >90% ----> 'High'

If Fill Rate Admin >=80% and <90%---> 'Medium'

If Fill Rate Admin <80%----> 'Low'

Appreciate your help.

Thanks,

Ram

4 Replies
Highlighted
Specialist
Specialist

Please use

=if([Total Days]='','Never loggedin',

if(replace([Fill Rate Admin],'%','')>90,'High',

if(replace([Fill Rate Admin],'%','')>=80 and replace([Fill Rate Admin],'%','')<90,'Medium',

if(replace([Fill Rate Admin],'%','')<80,'Low'))))

Highlighted
Creator
Creator

Hi Pratyush,

Thanks for your help.

But unfortunately, i see only 'Low' in my list box. i dont see other options available.

Thanks,

Ram

Highlighted
Specialist
Specialist

PFA the app.

Highlighted
Specialist III
Specialist III

I was about to offer up the same answer as Pratyush. His example works - I tested it with your file.