Skip to main content
Announcements
New: No-code data prep in Qlik Cloud Analytics™ TAKE A TOUR
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Messing around with a Hierarchy

Hi,

i've got this table:

Work CenterAttendanceOutput
Workcenter 1605000
Workcenter 2408000
Workcenter 3387000
Workcenter 41231300

What i want to implement: When a user clicks on 'Workcenter 1', it should select all attendance Values but only '5000' from the output column.

Can somebody help me? Can i do this with a flag?

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

In a straight table with dimension [Work Centre], use the following expressions:

     Sum(TOTAL Attendance)

     Sum(Output)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anonymous
Not applicable
Author

Jonathan,

this would work, but in most cases all attendance and all output values are needed.

let me know if my question is a bit unclear.

Edit:
What i want to accomplish:

KPI = Output / Attendance

In some WorkCenter groups this formula is a bit modified.

Lets say we've got the Workcenter "Electroplating". This Workcenter has some subgroups.
But for this formula its not:

Output from all subgroups / Attendance from all subgroups

but instead it is:

Output from one subgroup / Attendance from all subgroups   

I hope this makes it clearer