Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
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
MVP
MVP

Re: Tree view?

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
Honored Contributor II

Re: Tree view?

hopes this helps!

Re: Tree View In QlikView

MVP
MVP

Re: Tree view?

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

Re: Tree view?

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
Honored Contributor II

Re: Tree view?

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

MVP
MVP

Re: Tree view?

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

Not applicable

Re: Tree view?

Hi Petter,

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

MVP
MVP

Re: Tree view?

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

MVP
MVP

Re: Tree view?

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

Re: Tree view?

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.