Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hierarchy question

Hello!

We have created hierarchy with Qlikview from *qvd file.

Every record has attribute "Product type". Some of records have values of this attribute, some - not.

The task is to update heerarchy data from  the file: if an record has no value in this attribute ("Product type"), then go to the parent_id and copy it's value.

If parent record has no value, then we look for the value parent_id for parent record and etc to the root. If value was not found, then put "diff" value to the attribute ("Product type") record (with what we start).

Can someone help or give example (script) how to work with hierarchy elements (parent-child), how can I refer to this elements. Any ideas?

In attache: Items.txt - hierarchy load

Nom.qvd - datasource

1 Reply
whiteline
Master II
Master II

I think this thread could help you.

http://community.qlik.com/message/252876#252876