<?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 Re: Loading hierarchy excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787585#M662487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can create this file in a different way, it would be a lot easier. In the attachment, you can find two ways of defining hierarchies that you can use in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expanded Nodes you can load as it is. The Adjacent Nodes you can load using the Hierarchy prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 07:20:45 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-03-12T07:20:45Z</dc:date>
    <item>
      <title>Loading hierarchy excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787584#M662486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have here an example of table I need to load in my application. Please see attached file.&lt;/P&gt;&lt;P&gt;Any advice you can give? Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This excel file is loaded monthly and changes value for IDs assigned per level.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 01:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787584#M662486</guid>
      <dc:creator />
      <dc:date>2015-03-12T01:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Loading hierarchy excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787585#M662487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can create this file in a different way, it would be a lot easier. In the attachment, you can find two ways of defining hierarchies that you can use in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Expanded Nodes you can load as it is. The Adjacent Nodes you can load using the Hierarchy prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 07:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787585#M662487</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-12T07:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Loading hierarchy excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787586#M662488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;^bump! need help on how to format it that way... without doing it manually...either by macro or scripting..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 13:03:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787586#M662488</guid>
      <dc:creator />
      <dc:date>2015-03-20T13:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading hierarchy excel file</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787587#M662489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Try this with your data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExpandedNodes:&lt;/P&gt;&lt;P&gt;LOAD ID, LVL1, LVL2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Len(Trim(LVL3))&amp;gt;0, LVL3, If(LVL2=Peek(LVL2), Peek(LVL3))) as LVL3,&lt;/P&gt;&lt;P&gt;&amp;nbsp; LVL4;&lt;/P&gt;&lt;P&gt;LOAD ID, LVL1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Len(Trim(LVL2))&amp;gt;0, LVL2, If(LVL1=Peek(LVL1), Peek(LVL2))) as LVL2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; LVL3, LVL4;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; RecNo() as ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Len(Trim(LVL1))=0, Peek(LVL1), LVL1) as LVL1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; LVL2, LVL3, LVL4&lt;/P&gt;&lt;P&gt;FROM [Testhier.xlsx] (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 15:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-hierarchy-excel-file/m-p/787587#M662489</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-20T15:52:33Z</dc:date>
    </item>
  </channel>
</rss>

