Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to rank hierarchies and I'm trying to write dimension.
Level=1 Manager,Level=2 Manager Helper ,Level=3 Employee
if selected level 1 show me level 2 names.
=if (LEVEL=2,if(LEVEL=1 and PRED=WORKNUM,NAME))
its not work:(
please help
Hi @krmvacar
Try this:
If(LEVEL = 1,'Manager',
if(LEVEL = 2,'Manager Helper',
if(LEVEL = 3, 'Employee')))
sorry I could not explain.I want to create a dimension in the pivot table here.
when i create dimension if level=2 only show under john angelina and oleg.
@krmvacar I don't know if it's possible do it directly at pivot table.
Maybe you have to consider do it in the script.
The way of your table is structured, you can use the "Org chart" like below:
Thank you so much @joaopaulo_delco ı need dimension or script.
@krmvacar, if it solve your problem, can you accept my post as solution?
check hierarchy() and hierarachybelongsto() in qlik help menu
Regards,
İts not solve sorry:(
Try this,
tab1:
Hierarchy(Work#, Pred, Name,,Name)
LOAD * INLINE [
Work#, Name, Level, Pred
11246, John, 1,
19835, Angel, 2, 11246
12939, Vick, 3, 19835
34565, Oleg, 2, 11246
];
Output: