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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Lists and behaviour

I have another situation where I have two drop lists on a sheet.  On selecting an item from the first the standard behaviour for QlikView is to grey out items across the objects that are not in context. So this happens on the second drop list but what I want is the in the list which are not greyed out to appear at the top of the list.

8 Replies
alexandros17
Partner - Champion III
Partner - Champion III

What you ask is the normal behaviour, have you use expressions in the second list?

jpenuliar
Partner - Specialist III
Partner - Specialist III

You can try to change the Sort Property >> Sort by>> State >> Auto Ascending or Ascending.

This should put the White associations at the top list

Not applicable
Author

yeah the second list is based on an expression. 

alexandros17
Partner - Champion III
Partner - Champion III

That's the reason, if you can try to compute that expression in the script (as a new field) and use it in the list box...

Not applicable
Author

the challenge I have is the expression concatinates two fields from two different dimensions so how would I manage that in the script?

Not applicable
Author

Here is the expression i have in the list object: = If(not isnull(Specialty),LocalServiceLine & ': ' & Specialty)

and where I would expect it to be in the script is:

Hierarchy (LocalServiceLine, LocalServiceLineParent, LocalServiceLineDescription, , LocalServiceLineDescription,'\', 'HIEARACHY DEPTH')

LOAD LocalServiceLine,

  LocalServiceLineParent,

  LocalServiceLineDescription

  Resident DIMLocalServiceLine;

  Drop table DIMLocalServiceLine;

RENAME Fields LocalServiceLineDescription1  to Trust, LocalServiceLineDescription2 to Division, LocalServiceLineDescription3 to Specialty;

Please can you help

Not applicable
Author

the challenge I have is the expression concatinates two fields from two different dimensions so how would I manage that in the script?

Not applicable
Author

Here is the expression i have in the list object: = If(not isnull(Specialty),LocalServiceLine & ': ' & Specialty)

and where I would expect it to be in the script is:

Hierarchy (LocalServiceLine, LocalServiceLineParent, LocalServiceLineDescription, , LocalServiceLineDescription,'\', 'HIEARACHY DEPTH')

LOAD LocalServiceLine,

  LocalServiceLineParent,

  LocalServiceLineDescription

  Resident DIMLocalServiceLine;

  Drop table DIMLocalServiceLine;

RENAME Fields LocalServiceLineDescription1  to Trust, LocalServiceLineDescription2 to Division, LocalServiceLineDescription3 to Specialty;

Please can you help