Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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?

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