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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to create a selection list from the values contained in the script.

Hello I'm new to qlikview, I would like to know how to create a selection list from the values contained in a script. I explain myself I have a set of fields with values (as in the table viewer below) and I wish that from a selection list I can highlight the histogram of the fields including #taux_resolution by example.

thank you for your reactions.

1.PNG

19 Replies
Anonymous
Not applicable
Author

I would like to delete the fields % entities_name and annee from the selection list below.

Anonymous
Not applicable
Author

2.PNG

rubenmarin

For that particular case you can use:

=If(not Match($Field,'%entities_name','annee'), $Field)

Anonymous
Not applicable
Author

Ruben, now it adds an entities_id column and it does not delete anything or hide the fields I want.

Anonymous
Not applicable
Author

3.PNG

rubenmarin

I don't see %entities_name or annee in that list...You can check how match works:

https://help.qlik.com/es-ES/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFun...

Add the fields you want to omit or load the list of field names in a field and use the expression I posted before.

Anonymous
Not applicable
Author

4.PNG

Here are all the lines I would like to remove from the selection list.

when i use match () it does not give what i want.

please help me.

rubenmarin

Hi Franck, I would need a sample to check what's happening.

sasiparupudi1
Master III
Master III

Hi may be use HidePrefix varible in script and rename your fields with a specific prefix like a % or an _

in the script on the top you may declare the special variable like

set HidePrefix=%;

https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/SystemVariable...

Anonymous
Not applicable
Author

it does not work