<?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: Need to find hierarchy level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786524#M278229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked your "Sample.XLSX" as well as your "Hierarchy.qvw" file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not found any useful hierarchy Parent/Child node/relation name/id or any particular text regarding identification for both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, "Hierarchy.qvw" is not working fine. Is this possible to share us actual sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moving forward, check this thread I hope this will help you a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4823"&gt;Hierarchy in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 10:19:02 GMT</pubDate>
    <dc:creator>engishfaque</dc:creator>
    <dc:date>2015-01-16T10:19:02Z</dc:date>
    <item>
      <title>Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786520#M278225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help on finding hierarchy level. I have data and hierarchy level columns. First I want to take unique data(numbers only and the values which started with text (D_12) not needed i.e 1000 like that). Next, I want to find higher node (by mapping with input sheet) with the unique values (Store as Hierarchy1). Now, there might be chance that I have another higher node for hierarchy1. So again I want to map the hierarchy1 with input sheet. Like wise I have to find upto the top level. I have attached sample excel (Input file which is raw data and I want output like showed in output sheet). Can any one suggest idea on how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Tamil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 05:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786520#M278225</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-01-14T05:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786521#M278226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read about Hierarch() LOAD in the help file or the community.&lt;/P&gt;&lt;P&gt;It can create a field that contains the depth/level of a node in a hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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>Wed, 14 Jan 2015 08:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786521#M278226</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-01-14T08:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786522#M278227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the Hierarchy syntax but no idea on how to do.&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Somehow I have managed and created a qvw file, but the result is not what I want. See below screenshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75444_1.PNG" style="height: 287px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we achieve this by altering load script as I don't want to do in expressions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 09:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786522#M278227</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-01-14T09:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786523#M278228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can someone help me.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 02:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786523#M278228</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-01-16T02:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786524#M278229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked your "Sample.XLSX" as well as your "Hierarchy.qvw" file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But not found any useful hierarchy Parent/Child node/relation name/id or any particular text regarding identification for both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, "Hierarchy.qvw" is not working fine. Is this possible to share us actual sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moving forward, check this thread I hope this will help you a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4823"&gt;Hierarchy in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 10:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786524#M278229</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2015-01-16T10:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786525#M278230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ishfaque,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;My source data is two columns and I have renamed the column headers. My node always ends with numbers, so i have no other choice and have to find the top level by extracting the node (numbers) from Node column and respective parent. Again, I have to find the parent by searching in node column and their respective parent. This will go upto 5 hierarchy. I want the result like above screenshot and attached sample excel file again (two sheets input and output). I will check the link and let you if I can figure it out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks a lot.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 10:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786525#M278230</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-01-16T10:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786526#M278231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I could manage to make the output as it was required in the output sheet tab on the attached excel, at this point, what else do you require or what would be the next step? , I believe that from this point forward, We need to do some cleaning and reorganize whatever the HierarchyBelongsTo Function discovered automatically based on your data. Let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enclosed Qlikview Document and the sample. &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;Mario Estrada&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sc_148325.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75594_sc_148325.png" style="height: 288px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jan 2015 05:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786526#M278231</guid>
      <dc:creator />
      <dc:date>2015-01-18T05:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786527#M278232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time. Sorry, I am not able to see anything in the attached Qlikview document. See the attached file and you might get an understanding on what I wish to do. My data might have five levels and I need to design like same mentioned in excel. The problem is I have two columns and the only way I can find the top level hierarchy is to take the account numbers (Bottom level) and their parent node and so on.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tamil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 04:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786527#M278232</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-01-19T04:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need to find hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786528#M278233</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 found the solution and it's just &lt;STRONG&gt;1&lt;/STRONG&gt; line of code. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hierarchy (Node,Parent,Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Node,&lt;/P&gt;&lt;P&gt;Parent,&lt;/P&gt;&lt;P&gt;Node as Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;[New Samp.XLSX]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Input);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt; Thanks to Marco, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Ishfaque&amp;nbsp; and Mario. &lt;IMG __jive_id="75714" alt="images.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75714_images.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Mario: &lt;/STRONG&gt;Can you attach the qvw file again. I would like to see your solution &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Tamil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jan 2015 04:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-find-hierarchy-level/m-p/786528#M278233</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-01-20T04:20:36Z</dc:date>
    </item>
  </channel>
</rss>

