Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Tree view?

Hi,

Can any one please help me to display the data on attached QVW in the tree view ??

Data:

Hierarchy:

Load * inline [

Child, ParentLevel 1, ParentLevel 2,ParentLevel 3,ParentLevel 4, HIghlevelParent,Level

Robin, , ,,,Robin,1

Kate, Harold,,,,  Harold,2

Samules, Robert,Richard, ,,Richard,3

Samanta,Chris,Mike,Micheal,,Micheal,4

Chris,Mike,Micheal,,,Micheal,3

Mike,Micheal,,,,Micheal,2];

Expected tree view:

Robin-

        Robin

Harold -

        Kate

Richard-

          Robert-

                  Samules

Micheal-

          Mike-

                  Chris-

                          Samanta

Thanks

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

Here is a Tree View as you specified but I don't know if it will suit the rest of your requirements as you didn't specify much...

2015-06-08 #9.PNG

View solution in original post

10 Replies
buzzy996
Master II
Master II

hopes this helps!

Re: Tree View In QlikView

petter
Partner - Champion III
Partner - Champion III

You expected tree view seems a little bit inconsistent with your data. How can Robin - Robin be the same as Harold - Kate when the first i Level 1 and the second is Level 2?

Not applicable
Author

Hi Petter,

Sorry the result should be something like this

Expected tree view:

Robin-

    

Harold -

        Kate

Richard-

          Robert-

                  Samules

Micheal-

          Mike-

                  Chris-

                          Samanta

Thanks

buzzy996
Master II
Master II

pfa,seems to be some data issue..try to modify data and see..

petter
Partner - Champion III
Partner - Champion III

Here is a Tree View as you specified but I don't know if it will suit the rest of your requirements as you didn't specify much...

2015-06-08 #9.PNG

Not applicable
Author

Hi Petter,

Thanks a lot, this is what i am looking for . In the tree view list box can users select high level parent?

petter
Partner - Champion III
Partner - Champion III

‌There must be some data associated with it to be able to select.

petter
Partner - Champion III
Partner - Champion III

If you add these rows to your Hierarchy table all levels will be selectable:

Harold ,,,,,Harold,1
Micheal,,,,,Micheal,1
Richard,,,,,Richard,1
Robert,Richard,,,,Richard,2
Not applicable
Author

Hi,

Have a quick question.

On the Hierarchy list box, how to sort that list box so when i select a value its should appear on the top?

For example in the on the attached file, if i select Richard, it should appear on the top.