Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7635.Hierarchie.xls:550:0]
Hello,
I need a hierarchy from an excel sheet. The goal is to see managers, department managers and employees in an hierarchial structure.
Can anyone solve the problem? See the attached file.
Greetings,
Michael
Hi Michael,
here are an example based on your excel file.
The kind of table Martina mentioned are used most if we talking about hierarchies.
Good luck!
Rainer
Hi Michael,
see the attached example.
Good luck!
Rainer
Hello Rainer,
i tried to build up the hierarchy by using an example from another post. But it does not work, can you help?
LOAD
Geschäftsführer,
Abteilungsleiter,
Mitarbeiter
FROM C:/Hierarchie.xls(ooxml, embedded labels, table is Tabelle1);
DrillDown:
HIERARCHY (Geschäftsführer, Abteilungsleiter, Mitarbeiter, 'Tree View', '/')
LOAD
Geschäftsführer,
Abteilungsleiter,
Mitarbeiter
RESIDENT data;
Drop Table data;
The Excel looks like this:
Geschäftsführer Abteilungsleiter Mitarbeiter
1 23 2
1 23 3
... .... ....
Michael
Hallo, Michiha85,
du brauchst besser eine Tabelle die so aussieht:
Chef Mitarbeiter
1
1 23
23 2
23 3
23 4
1 24
24 5
24 6
24 7
7 8
7 9
.....
Das löst die Hierarchy dann automatisch auf.
Hallo Martina,
wie würde dann das Load Script dafür aussehen? Ich arbeite erst seit kurzem mit QlikView und es ist alles noch ein wenig verwirrend ![]()
Michael
Hi Michael,
here are an example based on your excel file.
The kind of table Martina mentioned are used most if we talking about hierarchies.
Good luck!
Rainer