Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, can the field location be represented in a structure? So, HQ marks all fields below. CI pretends, Concord ' and, Karlsruhe ' and HQ should be not selected any more. If Concord is selected, CI is selected, if ‘Concord ' and, Karlsruhe ' is selected, then CI is selected. Can the choice be indicated in the diagram or in an additional box?
HQ
CI
Concord
Karlsruhe
PA
Bartelsville
Regards Stefan
Hi Stefan,
To achieve this, you need to use the keywords "Hierarchy" or "HierarchyBelongsTo" in the script as prefix to load or select statement and then you can use the option "Show as Tree View" from the properties of list box (it is available in General tab)
Hope this helps!
Hi, not really. Have you any idea what is wrong in my script?
NccStructure:
Hierarchy (structure_id, structure1, location_id1, location, abbreviation1, location_class1,'/')
Load structure_id,
structure as structure1,
location_id as location_id1,
location as location
abbreviation as abbreviation1,
location_class as location_class1
Resident NCC_Data;
Hi Stefan,
Syntax wise : There is comma missing after location.
Otherwise, looks good to me as long as the fields satisfy the criteria of the parameters of Hierarchy. (You can refer t the Help in Qlikview).
Hello Stefan,
I have worked out and found. Hope this helps you. PFA.