Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an excel file that contains all the employees in an organization (table name is USER). Each row (person) has a quota value, let’s call it “Quarter Quota”. However, within this table are the various levels of hierarchy (sales rep, sales mgr, sales director), so I cannot SUM this value, as it would include the totals for each “level” of hierarchy. The unique ID of each user is Emp_Number…and the only variable to identify the level of hierarchy is Position_Description.
Ideally I need to create some sort of Hierarchy, where I define the levels which comprise the hierarchy, though the documentation I’ve read on this make it seem that the “levels” are found in distinct tables…not within the same table as I’ve described above. Do I need to create multiple tables, isolating each level of the hierarchy, then do the QV hierarchy prefix function? Is there a way to create a hierarchy from just this one USER table.
Thanks in advance for any help you can offer.
Dan
There is a hierarchy prefix for load statements you can use. Please post sample data. Regards Marco
You should read Hierarchies to find out in what form your hierarchy is.
HIC
Here is a sample data file.
http://community.qlik.com/servlet/JiveServlet/downloadBody/6669-102-1-8318/Sample_User_Data.xlsx
This looks helpful. Thanks, Henric.
could you please explain a bit more about how the dependencies of the different hierarchy levels can be retrieved from your sample data?
thanks
Marco
It is probably possible to load your Excel sheet using a whole lot of script transformations, but I would suggest you clean up your source data instead.
When that is done, you could probably load your table directly using the Hierarchy prefix.
HIC