<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creating hierarchy from simplified personnel file... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708050#M674429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very simple personnel file which lists EMP#, EMPName, MGR1# and MGR1Name for everyone in the company. From just this data, how can I then look-up the MGR# and use it as the EMP# to gain that person's MGR# and MGRName?&amp;nbsp; I keep getting circular references or synthetic keys.&amp;nbsp; FYI, I need 4 levels of MGRs so I will need to repeat the process and change the result to MGR5# and MGR5Name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2014 19:23:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-18T19:23:38Z</dc:date>
    <item>
      <title>Creating hierarchy from simplified personnel file...</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708050#M674429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very simple personnel file which lists EMP#, EMPName, MGR1# and MGR1Name for everyone in the company. From just this data, how can I then look-up the MGR# and use it as the EMP# to gain that person's MGR# and MGRName?&amp;nbsp; I keep getting circular references or synthetic keys.&amp;nbsp; FYI, I need 4 levels of MGRs so I will need to repeat the process and change the result to MGR5# and MGR5Name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 19:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708050#M674429</guid>
      <dc:creator />
      <dc:date>2014-07-18T19:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating hierarchy from simplified personnel file...</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708051#M674430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possible to attach your sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 20:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708051#M674430</guid>
      <dc:creator />
      <dc:date>2014-07-18T20:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating hierarchy from simplified personnel file...</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708052#M674431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a hierarchy prefix for load statements that you could use.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 08:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708052#M674431</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-07-19T08:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating hierarchy from simplified personnel file...</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708053#M674434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See also:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/112800"&gt;Using lookup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 08:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708053#M674434</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-07-19T08:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating hierarchy from simplified personnel file...</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708054#M674437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/MarcoWedel"&gt;MarcoWedel&lt;/A&gt; &lt;/STRONG&gt;The concept you post about is amazing, but I've spent my entire Sunday attempting to modify this code to work and it just doesn't sing.&amp;nbsp; I do not get errors but I do get synthetic keys for employee and manager, and I can't seem to get a full 4 levels of management&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I already have my own employeeID and I can understand where AutoNumber come into play, but I cannot get my employeeIDs to be allowed into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yea, I'm new, and, I have a headache &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&amp;nbsp; Here's hoping you can help tweak it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've included in the attached file are the following tabs:&lt;/P&gt;&lt;P&gt;Results: What I am expecting to come close to&lt;/P&gt;&lt;P&gt;PersonnelFile: Limited names in current format to complete 2 samples of 4 and 5 level management&lt;/P&gt;&lt;P&gt;TableView: just that, a pic of my tables&lt;/P&gt;&lt;P&gt;ScriptExport: just that, an export of my current script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jul 2014 21:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-hierarchy-from-simplified-personnel-file/m-p/708054#M674437</guid>
      <dc:creator />
      <dc:date>2014-07-20T21:46:26Z</dc:date>
    </item>
  </channel>
</rss>

