Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
iztoogood
Contributor III
Contributor III

applying multiple filters iteratly on a dataset ? how to ?

Hello,

I have a data set... i have multiple filter to apply on this dataset...

how can y manage to iteratively apply those filter on my datas ?

maybe with a tMap ?...  do yo have any idea ?

 

filters elements list:

|=-----+--------+-----=|
|left  |operator|right |
|=-----+--------+-----=|
|row1.A|>       |5     |
|row1.A|>       |row1.B|
'------+--------+------'

dataset:

.-+-.
|A|B|
|=+=|
|1|2|
|9|3|
|4|4|
|5|6|
|7|6|
'-+-'

 

here is what i'm trying to do :

multipleFilter

Labels (2)
2 Replies
akumar2301
Specialist II
Specialist II

in Java , Usually it is not possible to evaluate code at run-time.

But it might be possible with tGroovy ( Only if it is simple use case)  as it is a scripting/Programming Language. But then also lot of coding would be required.

 

Some examples below

https://www.programcreek.com/java-api-examples/?class=groovy.lang.GroovyShell&method=evaluate

 

Let me know if you find any other interesting solution.

 

 

 

 

 

iztoogood
Contributor III
Contributor III
Author

Hi,

thanks Akumar... i will take a look