<?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 Build straight customer hierachy in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360326#M133809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to build straight customer hierarchy troght script. &lt;/P&gt;&lt;P&gt;I have an example attached.&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2012 09:52:47 GMT</pubDate>
    <dc:creator>alex59800</dc:creator>
    <dc:date>2012-07-20T09:52:47Z</dc:date>
    <item>
      <title>Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360326#M133809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to build straight customer hierarchy troght script. &lt;/P&gt;&lt;P&gt;I have an example attached.&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 09:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360326#M133809</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2012-07-20T09:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360327#M133810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for this hierarchy in addition to the file attached, i need to fill in the empty last level with 99999&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 460px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="150"&gt;HIERARCHY 1&lt;/TD&gt;&lt;TD width="123"&gt;HIERARCHY 2&lt;/TD&gt;&lt;TD width="101"&gt;HIERARCHY 3&lt;/TD&gt;&lt;TD width="86"&gt;HIERARCHY 4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;Customer A&lt;/TD&gt;&lt;TD class="xl64"&gt;Customer B&lt;/TD&gt;&lt;TD class="xl64"&gt;Customer C&lt;/TD&gt;&lt;TD class="xl64"&gt;Customer D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Customer E&lt;/TD&gt;&lt;TD class="xl63"&gt;Customer F&lt;/TD&gt;&lt;TD class="xl63"&gt;Customer H&lt;/TD&gt;&lt;TD class="xl63"&gt; 999999&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 09:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360327#M133810</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2012-07-20T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360328#M133811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the file attached.&lt;/P&gt;&lt;P&gt;As for the dates, I assumed that you want to ignore all records where End Date has already passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will suit your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2012 21:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360328#M133811</guid>
      <dc:creator />
      <dc:date>2012-07-23T21:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360329#M133812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello JP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Work well thanks a lot. I copied your scipt with the original table to see result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="460"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="150"&gt;Parent&lt;/TD&gt;&lt;TD width="123"&gt;Child&lt;/TD&gt;&lt;TD width="101"&gt;StartDate&lt;/TD&gt;&lt;TD width="86"&gt;EndDate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;Customer A&lt;/TD&gt;&lt;TD class="xl65"&gt;Customer B&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;01/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;31/12/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;Customer B&lt;/TD&gt;&lt;TD class="xl65"&gt;Customer C&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;01/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;31/12/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;Customer C&lt;/TD&gt;&lt;TD class="xl65"&gt;Customer D&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;01/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;31/12/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Customer E&lt;/TD&gt;&lt;TD class="xl63"&gt;Customer F&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;01/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;31/12/2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Customer F&lt;/TD&gt;&lt;TD class="xl63"&gt;Customer G&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;01/01/2010&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;30/06/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Customer F&lt;/TD&gt;&lt;TD class="xl63"&gt;Customer H&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;01/07/2010&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;31/12/2019&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a detail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result give me that final table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the 2 line it should not be loaded as a valid hierarchy as the endate is 30/06/2011.&lt;/P&gt;&lt;P&gt;Could you telle me what's happening ?&lt;/P&gt;&lt;P&gt;Thank a lot &lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 08:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360329#M133812</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2012-07-24T08:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360330#M133813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table final not attached up here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="438"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="106"&gt;Hierarchy1&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="82"&gt;Hierarchy2&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="100"&gt;Hierarchy3&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="150"&gt;Hierarchy4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Customer A&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer B&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer C&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Customer E&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer F&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer G&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;999999&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;Customer E&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer F&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Customer H&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;999999&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 09:24:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360330#M133813</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2012-07-24T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360331#M133814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may try the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DataIn:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[HIERARCHY (Father),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HIERARCHY (Son),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StartDate,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EndDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer A,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer B,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01-01-10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;31-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer B,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer C,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01-01-10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;31-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer C,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer D,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01-01-10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;31-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer E,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer F,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01-01-10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;31-12-19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer F,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer G,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01-01-10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;30-06-11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer F,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer H,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01-07-10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;31-12-19];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [HIERARCHY (Father)],&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Son)] Resident DataIn;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [HIERARCHY (Son)] as [HIERARCHY (Father)], 1 as OnlyFather Resident DataIn;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Father)] as HIERARCHY1, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Son)] as HIERARCHY2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data1 Where IsNull(OnlyFather);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Father)] as HIERARCHY2, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Son)] as HIERARCHY3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident DataIn;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Data1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HIERARCHY1, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HIERARCHY2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HIERARCHY3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data2 ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Father)] as HIERARCHY3, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[HIERARCHY (Son)] as HIERARCHY4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident DataIn; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Data2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table DataIn;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DataOut:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HIERARCHY1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If(IsNull(HIERARCHY2), 999999, HIERARCHY2) as HIERARCHY2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If(IsNull(HIERARCHY3), 999999, HIERARCHY3) as HIERARCHY3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;If(IsNull(HIERARCHY4), 999999, HIERARCHY4) as HIERARCHY4 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Data3; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Data3; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Regards,&lt;/P&gt;&lt;P&gt;Som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 14:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360331#M133814</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2012-07-25T14:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360332#M133815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i changed the rules a little bit because the final result is not ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New rules are mentionned with example in the file attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 14:03:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360332#M133815</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2012-08-02T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Build straight customer hierachy in script</title>
      <link>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360333#M133816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you're fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the attached app based on the new rules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 00:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-straight-customer-hierachy-in-script/m-p/360333#M133816</guid>
      <dc:creator />
      <dc:date>2012-08-03T00:35:12Z</dc:date>
    </item>
  </channel>
</rss>

