Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

Help Require to resolve the hierarchy problem

Dear all

I have following script  for creating hierarchy parent child wise now I require empname to be display along with level names so make changes in sql script and bring empname  , now when I load this data empname are visible , But when I select Sales Group this is disable shown in gray not linked  please see attached jpg file also attaching the sql script 

Qv Script

DIM_GeoHQMaster:

HIERARCHY(CHILD_ID, PARENT_ID, [HQ], [Parent Name], [HQ], [Path Name], '/')

LOAD Hqid AS [HQ Code],

     Hqname AS [HQ],

     GeoLevelName AS [Level Name],

     CHILD_ID,

     PARENT_ID,

     GeoCount ,

     Rmcount,

     [EmpName],

     [Email]

FROM

[..\Qvds\DIM_GeoHQMaster.qvd]

(qvd);

Sql Script

UPDATE a  

SET a.EmpName = b.EmpName  FROM DIM_QV_GeoHQMaster a

INNER JOIN  [100.0.7.22].[SIM_BI].[dbo].[SIM_MKTEMP_MAST] b

  on a.Hqid =b.EmpArea  and  a.Sgid = b.EmpSgid

  WHERE a.Sgid = b.EmpSgid  and a.Hqid = b.EmpArea

But still i am not able to get employee names' please help me to resolve the same.

Regards

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
0 Replies