<?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: hieararchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163972#M379151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Said,&lt;/P&gt;&lt;P&gt;Maybe you can start here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5490"&gt;Hierarchy function easy and Efficient with example---&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2016 20:52:05 GMT</pubDate>
    <dc:creator>santiago_respane</dc:creator>
    <dc:date>2016-05-17T20:52:05Z</dc:date>
    <item>
      <title>hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163969#M379148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a data set as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I want to make a tree structure by using Hierarchy&amp;nbsp; function in QV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl24" height="17" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="87"&gt;Niv1&lt;/TD&gt;&lt;TD class="xl24" style="padding-right: 4px; padding-left: 4px; border-width: 0px 0px 0px medium; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="79"&gt;Niv0&lt;/TD&gt;&lt;TD class="xl24" style="padding-right: 4px; padding-left: 4px; border-width: 0px 0px 0px medium; border-style: solid solid solid none; border-top-color: black; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;" width="136"&gt;Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;NAME0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;1N&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;NAME1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;1N11&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;NAME2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;0&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;NAME02&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;2B&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;NAME12&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;2B11&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;NAME22&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl25" height="17" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px; border-style: none solid solid; border-right-color: black; border-bottom-color: black; border-left-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD class="xl25" style="padding-right: 4px; padding-left: 4px; border-width: medium 0px 0px medium; border-style: none solid solid none; border-right-color: black; border-bottom-color: black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; The final resultat :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NAME0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please help me.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 20:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163969#M379148</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2016-05-17T20:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163970#M379149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your Niv1 and Niv0 fields are not describing parent / child nodes, do they?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you describe a bit more detailed the logic / relation of your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 20:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163970#M379149</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T20:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163971#M379150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field Values Niv0&lt;/P&gt;&lt;P&gt;0 is the top level&lt;/P&gt;&lt;P&gt;1 is the second level&lt;/P&gt;&lt;P&gt;2 is the last level&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 20:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163971#M379150</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2016-05-17T20:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163972#M379151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Said,&lt;/P&gt;&lt;P&gt;Maybe you can start here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5490"&gt;Hierarchy function easy and Efficient with example---&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this helps.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 20:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163972#M379151</guid>
      <dc:creator>santiago_respane</dc:creator>
      <dc:date>2016-05-17T20:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163973#M379152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You always have at most a single parent for a node and a single child?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 21:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163973#M379152</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T21:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163974#M379153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that but not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 21:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163974#M379153</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2016-05-17T21:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163975#M379154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 21:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163975#M379154</guid>
      <dc:creator>emteam162</dc:creator>
      <dc:date>2016-05-17T21:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: hieararchy</title>
      <link>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163976#M379155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INPUT:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *, &lt;STRONG&gt;RecNO() as NodeID, If(Niv0=0,NULL(), Peek(NodeID)) as ParentID&lt;/STRONG&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Niv1, Niv0, Name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1, 0, NAME0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1N, 1, NAME1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1N11, 2, NAME2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2, 0, NAME02&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2B, 1, NAME12&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2B11, 2, NAME22&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hierarchy(NodeID, ParentID, Name,ParentName,Name, Path)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD NodeID, ParentID, Name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident INPUT;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP TABLE INPUT;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a listbox with option treeview enabled for field Path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-17 23_26_20-QlikView x64 - [C__Users_Stefan_Downloads_QlikCommunity_Thread_217262.qvw_].png" class="jive-image image-1" src="/legacyfs/online/124846_2016-05-17 23_26_20-QlikView x64 - [C__Users_Stefan_Downloads_QlikCommunity_Thread_217262.qvw_].png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 21:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/hieararchy/m-p/1163976#M379155</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-17T21:26:13Z</dc:date>
    </item>
  </channel>
</rss>

