Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I wanna show employee whose getting salary 10000 to 20000

Hi friends,

I wanna show the employee_id whose getting salary in between 10000 to 20000 And am using this expression for that.

                                        If(((SALARY<=20000)&(SALARY>=10000)),EMPLOYEE_ID )as Grade2

But it show me the employee id whose are getting salary below 20000 and below 10000 also ..

Can u please help me to get my required output..

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like this

If(SALARY >= 10000 AND SALARY <= 20000, EMPLOYEE_ID) as Grade2

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
MayilVahanan

Hi

Try like this

If(SALARY >= 10000 AND SALARY <= 20000, EMPLOYEE_ID) as Grade2

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Dude Really thank you very much I got my output. I know very well I was struggle with this '&' in that expression. Now am very cleared  once again thank you dude.........

MayilVahanan

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.