Skip to main content

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

listbox selection

How to select only maxstring from number of selection of listbox in qlik sense.

can any one suggest me?

8 Replies
agigliotti
Partner - Master III
Partner - Master III

please attach a print screen to better understand what are you looking for.

jcramirez472
Partner - Contributor III
Partner - Contributor III

I think I know what you are saying. First you need to create a field that gives you the length of the string in the script. Once that is created, you can use set analysis to find the field that has the longest string based on its length.

Only({<FieldLength={$(=Max(FieldLength))}>}Field)

Please mark as correct if this was helpful.

Thanks!

Not applicable
Author

Hi John, Andrea,

Thanks for your reply, Please find the requirement below

Filter-

In case of multiple selection, last selected value will be considered and selection removed from all other values in filter. Example if Jan, Feb and Mar selected where Mar is last selection, filter visualization on Mar month and remove selection in filter from Jan and Feb. Similarly for Quarter and Year filters.

Not applicable
Author

Hi John,

I think you thought this is the issue in qlikview. I am facing issue in qlik sense listbox. This expression I used already. please suggest me for qlik sense listbox actions.

jcramirez472
Partner - Contributor III
Partner - Contributor III

This kind of requirement needs an extension. As you may know, Qlik Sense does not support this type of action out of the box. Another work around is to allow the selection, but only evaluate max month in the visualization. It will appear as though multiple values are selected, however, only the max month or quarter is being evaluated in the visualization.

Please mark correct if helpful.

dwforest
Specialist II
Specialist II

Qlik Sense does not have actions

Not applicable
Author

ohh ok, thanks everyone

jcramirez472
Partner - Contributor III
Partner - Contributor III

Please mark as correct if you received an answer

"This kind of requirement needs an extension. As you may know, Qlik Sense does not support this type of action out of the box. Another work around is to allow the selection, but only evaluate max month in the visualization. It will appear as though multiple values are selected, however, only the max month or quarter is being evaluated in the visualization."