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

Filter on Dimension Field using input box

Show those employee which Amount is greater than given input box

5 Replies
cfz
Former Employee
Former Employee

Hi Vijay,

Please find attached an example.

I hope it helps.

Carlos

bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

if you have a chart you could use an expression like if(sum(Amount)>v_InputBox, sum(Amount)) and use the suppress when value is null, or add it as calculated dimension.

vijayit43
Creator
Creator
Author

Where is attached File???

cfz
Former Employee
Former Employee

Just below the text in the comment.

MK_QSL
MVP
MVP

Use below script..

====

Load * Inline

[

  Customer, Sales

  A, 100

  B, 120

  C, 200

  D, 150

  E, 160

];

====

Create a variable vTOTAL and keep it in Input Box

Create a straight table

Dimension

=IF(Aggr(SUM(Sales),Customer)>=$(vTOTAL), Customer)

Tick Suppress When Value is Null

Expression

SUM(Sales)

Now you can change the value of vTOTAL in input box and can see it's effect of Straight Table...