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: 
Not applicable

How to display several field values in an expression (for an input box) ?

Hi,

I would like to display in the "listed values" expression of an input field (constraint part), the possible values of a field. My problem is, as the result contains several values, the expression only displays null value.

Do you know how to solve this problem ?

Best regards

P.S : I know, usually I can directly use a listbox of the field or set analysis but I'm in a very particular case.

1 Solution

Accepted Solutions
fernandotoledo
Partner - Specialist
Partner - Specialist

You can use the "getfieldselections ( Field , ';' , 10 ) " function.

It will return an string with all possible values separated by ';'

If there is more values than 10 it will display something like "25 of 1,423,324"

You can set the parameters ';' and 10 as you wish. See help for more details in this function.

Best Regards Cool

Fernando D'Agosto

View solution in original post

2 Replies
fernandotoledo
Partner - Specialist
Partner - Specialist

You can use the "getfieldselections ( Field , ';' , 10 ) " function.

It will return an string with all possible values separated by ';'

If there is more values than 10 it will display something like "25 of 1,423,324"

You can set the parameters ';' and 10 as you wish. See help for more details in this function.

Best Regards Cool

Fernando D'Agosto

Not applicable
Author

OK, great Big Smile

That's exactly what I was looking for,

thanks a lot