Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

inputbox values calculation

Hi All

i have data as below

employee_id     salary    age

1                     50            25

2                    60              32

3                    25              25

4                    120          20   

5                    150             45

i need to have 2  inputboxs where if i give a value 100 in Salary input box and  25 in Age input box

it should calculate me the values whose salary is less than 100 and age equal to 25

so my output here is

employee_id     salary    age

1                     50            25

3                    25              25

1 Solution

Accepted Solutions
sinanozdemir
Specialist III
Specialist III

Hi,

You can use something similar to the attached:

Capture.PNG

Thanks

View solution in original post

4 Replies
vishsaggi
Champion III
Champion III

May be try this?

SalaryInput is your first Inputbox

AgeInput is your Age inputbox.

Using straight table:

Dim: = IF( salary < SalaryInput AND age = AgeInput,  employee_id)

Expr: = Salary

         = Age

sinanozdemir
Specialist III
Specialist III

Hi,

You can use something similar to the attached:

Capture.PNG

Thanks

neelamsaroha157
Specialist II
Specialist II

Is this what you are looking for

Not applicable
Author

Hi

Sinan Ozdemir  

neelamsaroha1575                   

Thank you so much your answers solved the problem