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: 
sridhar423
Contributor III
Contributor III

How can i pass the input box values to select the expression values?

Hi All,

I have a Straight Table Country is the Dimension and Sales% is Expression.

I Have a Input Box,

1)if i put 100% in Input box my straight table should show only countries which are having 100%

2)If i put other values like(50%) it should display the countries which are having Sales% less than 50%.

Please any one help me out from this.

  

CountrySales%
A100%
B20%
C30%
D40%
E100%
F33%
G69%
H100%

Thanks in advance,

Sridhar.

8 Replies
Anonymous
Not applicable

Hi, Sridhar

please explain more about your question

regards, Alex

Not applicable

Hi Anekc,

I new to Qv.

Kindly help me resolve the following query using the SCD solution. It would be a great help to me

Well, I have the following Inline table

LOAD * INLINE

[

    Product, ProdName, Price, Updated

    123, Watch, 150$, 1/1/2015

    134, Fruit, 30$, 1/1/2015

    145, Ring, 3000$, 3/1/2015

    123, Watch, 125$, 5/1/2015

    123, Watch, 119$, 5/5/2015

    134, Fruit , 50$, 5/5/2015

    145, Ring, 2500$, 5/12/2015

    234, Pen, 12$, 5/17/2015

    312, Jeans, 50$, 6/9/2015

];

Using the above input table, I need to get the below reults

ProductProdNamePriceUpdatedFromTo Date
123Watch150$1/1/20151/1/20154/30/2015
123Watch125$5/1/20155/1/2015     5/42015
123Watch119$5/5/20155/5/20156/18/2015

Help me implementing the same.

Thanks in advance

qlikmsg4u
Specialist
Specialist

Hi Ruchi,

I suggest you to open new thread, so that it will reach more people and will get answers

qlikmsg4u
Specialist
Specialist

Is this kind you are looking for?

sridhar423
Contributor III
Contributor III
Author

Hi Alex,

I want to filter the sales% values based on input box values..

But in that two conditions are there

1)if i put 100% in Input box my straight table should show only countries which are having 100%

2)If i put other values like(50%) it should display the countries which are having Sales% less than 50%.

First output should be                                                

  

CountrySales%
A100%
E100%
H100%


second output should be 

CountrySales%
B20%
C30%
D40%
F33%
G69%

Thanks,

Sridhar.

Not applicable

Hi,

First Create one varibale and assign it to input box.i have created vVari.

Then wright formula in expression:

if(Amount<$(vVari),Amount,0)

So every time,you enter value in input  box,table will show values lesser then entered value.

Anonymous
Not applicable

I prepared a solution.

You should input value in the Inputbox and then click on button 'Select'

Maybe it will be helpful

Regards, Alex

Not applicable

Hey,

Check the attached app, you can use slider or input box for this. Create one variable and assign value to that variable according to user selection. PFA