<?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: Hierarchies and Tree-view List Boxes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627194#M1096569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to define the "&lt;SPAN class="Bold"&gt;Path Name&lt;/SPAN&gt;" parameter in the hierarchy load which creates a field that contains the concatenated hierarchy level values seperated by a delimiter.&lt;/P&gt;&lt;P&gt;You then use this field in the listbox instead of your group (take care to define the same delimiter here).&lt;/P&gt;&lt;P&gt;The list box will display the full hierarchy instead of only two levels.&lt;/P&gt;&lt;P&gt;To display only levels 2 and 3 you could define an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13995897453958994" jivemacro_uid="_13995897453958994"&gt;
&lt;P&gt;=SubField(PathName, '/', 2)&amp;amp;'/'&amp;amp;SubField(PathName, '/', 3)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_117758_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58585_QlikCommunity_Thread_117758_Pic1.JPG.jpg" /&gt; &lt;IMG alt="QlikCommunity_Thread_117758_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58586_QlikCommunity_Thread_117758_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_117758_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58587_QlikCommunity_Thread_117758_Pic3.JPG.jpg" /&gt; &lt;IMG alt="QlikCommunity_Thread_117758_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58588_QlikCommunity_Thread_117758_Pic4.JPG.jpg" /&gt;&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>Thu, 08 May 2014 23:01:21 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-05-08T23:01:21Z</dc:date>
    <item>
      <title>Hierarchies and Tree-view List Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627193#M1096568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&amp;nbsp; Total QlikView newbie here, so apologies in advance if my question qualifies as basic knowledge...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to get a hierarchically ordered group to display in tree view within a list box.&amp;nbsp; I've followed the Qlikview Technical Briefing on &lt;A href="https://community.qlik.com/docs/DOC-5334"&gt;Hierarchies&lt;/A&gt; and so far have been able to generate the following code, which has loaded correctly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hierarchy(SegID, ParentID, Name)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD NodeID as SegID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then go and create a group with Name2 and Name3 (the two levels of the hierarchy I would like to display), order them accordingly, and name the group.&amp;nbsp; Then, I insert my List Box with the group as the Field, and select "Show as TreeView."&amp;nbsp; No dice.&amp;nbsp; It will allow me to drill down correctly, but won't display any boxes with pluses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 21:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627193#M1096568</guid>
      <dc:creator />
      <dc:date>2014-05-08T21:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchies and Tree-view List Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627194#M1096569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to define the "&lt;SPAN class="Bold"&gt;Path Name&lt;/SPAN&gt;" parameter in the hierarchy load which creates a field that contains the concatenated hierarchy level values seperated by a delimiter.&lt;/P&gt;&lt;P&gt;You then use this field in the listbox instead of your group (take care to define the same delimiter here).&lt;/P&gt;&lt;P&gt;The list box will display the full hierarchy instead of only two levels.&lt;/P&gt;&lt;P&gt;To display only levels 2 and 3 you could define an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13995897453958994" jivemacro_uid="_13995897453958994"&gt;
&lt;P&gt;=SubField(PathName, '/', 2)&amp;amp;'/'&amp;amp;SubField(PathName, '/', 3)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result could look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_117758_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58585_QlikCommunity_Thread_117758_Pic1.JPG.jpg" /&gt; &lt;IMG alt="QlikCommunity_Thread_117758_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58586_QlikCommunity_Thread_117758_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_117758_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58587_QlikCommunity_Thread_117758_Pic3.JPG.jpg" /&gt; &lt;IMG alt="QlikCommunity_Thread_117758_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58588_QlikCommunity_Thread_117758_Pic4.JPG.jpg" /&gt;&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>Thu, 08 May 2014 23:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627194#M1096569</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-05-08T23:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchies and Tree-view List Boxes</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627195#M1096570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, Marco.&amp;nbsp; Looks like I got the fields to display correctly.&amp;nbsp; As a follow-up question, how do I get the List box to allow me to select a one of the groups (and all of its sub-segments)?&amp;nbsp; Right now I have to drill all the way down before I can select anything, and while I can lasso all of the items in a group, it would be preferable to be able to just select the group itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 14:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchies-and-Tree-view-List-Boxes/m-p/627195#M1096570</guid>
      <dc:creator />
      <dc:date>2014-05-09T14:15:06Z</dc:date>
    </item>
  </channel>
</rss>

