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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Getselected value issue?

Hi,

I have a field like this

field1( country@state@city)

IND@MP@CITY1
IND@AP@CITY2

IND@TG@CITY3

IND@UP@CITY4

i am using this field in list box with show tree view with '@'

so if a user select ind i want to show ind

if a user select state i want show state

if a user select city i want to show city

i want to show it in text object. i tried =getselectedfield(field1) but it is not giving the proper result.is it fisable in qlikview or not?

Labels (1)
11 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

With the hierarchy list box, you are selecting one or more a values of Source. It is not possible to select "ind' as such as it is not at the lowest level. To do what you require would require 3 fields (ie country, state, city) and 3 list boxes.

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thanks,i guess it is not possible using the hierarchy list box