<?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: Hierarchy Load Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500360#M1133092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply put if you have a the following data the parent node for A2 will be selectable and B2 will not.&amp;nbsp; This is because there is a tree path value that when parsed terminates at A2, however for B2 no such record exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A1 / A2&lt;/P&gt;&lt;P&gt;A1 / A2 / A3&lt;/P&gt;&lt;P&gt;A1 / A2 / B3&lt;/P&gt;&lt;P&gt;B1 / B2 / B3&lt;/P&gt;&lt;P&gt;B1 / B2 / C3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps explain why some of the values in your hierarchy are not selectable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Nov 2013 02:43:53 GMT</pubDate>
    <dc:creator>andrewpettit</dc:creator>
    <dc:date>2013-11-09T02:43:53Z</dc:date>
    <item>
      <title>Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500357#M1133086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am limiting the records to a hierarchy load using "where exists()" to the Fact table. After the load all the Parents are not selectable in the tree view list box.&amp;nbsp; Is there a way to make the selectable in the document?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image 1.png" class="jive-image" src="/legacyfs/online/48778_Image 1.png" style="width: 620px; height: 538px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 22:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500357#M1133086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-08T22:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500358#M1133088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one for me was so usefull with somthin like your issue, sorry for my english&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BestRegards!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2013 23:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500358#M1133088</guid>
      <dc:creator />
      <dc:date>2013-11-08T23:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500359#M1133090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm leaving out the complexities of the hierarchy statement and focusing specifically on why the TreeView is not allowing selections in your example. In order for the nodes in a treeview to be selectable they must exist in their own right in the data. In the example below you can see that Node1 contains the proper value to be parse into a tree view list box. In this situation the listbox will be unselectable for all but the last node value 6462&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;UnselectableParentNodes:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; * &lt;SPAN style="color: #0000ff;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Node1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCBI/PCBI1/PCLN3/PCLN31/6462&lt;BR /&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;The script bellows shows what the data would need to look like in order to make all parent nodes selectable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;SelectableParentNodes:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Node2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCBI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCBI/PCBI1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCBI/PCBI1/PCLN3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCBI/PCBI1/PCLN3/PCLN31&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCBI/PCBI1/PCLN3/PCLN31/6462&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Given both scripts - you can see what the data would appear like in the QVW. I've attached the QVW as well if you care to see it working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG alt="TreeViewExample.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/48783_TreeViewExample.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 00:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500359#M1133090</guid>
      <dc:creator>mbm</dc:creator>
      <dc:date>2013-11-09T00:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500360#M1133092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply put if you have a the following data the parent node for A2 will be selectable and B2 will not.&amp;nbsp; This is because there is a tree path value that when parsed terminates at A2, however for B2 no such record exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A1 / A2&lt;/P&gt;&lt;P&gt;A1 / A2 / A3&lt;/P&gt;&lt;P&gt;A1 / A2 / B3&lt;/P&gt;&lt;P&gt;B1 / B2 / B3&lt;/P&gt;&lt;P&gt;B1 / B2 / C3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps explain why some of the values in your hierarchy are not selectable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 02:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500360#M1133092</guid>
      <dc:creator>andrewpettit</dc:creator>
      <dc:date>2013-11-09T02:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500361#M1133094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response.&amp;nbsp; I found the attached document that may solve my issue though I have only briefly reviewed it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 05:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500361#M1133094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-09T05:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500362#M1133095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you want to use the HierarchyBelongsTo function instead of the Hierarchy function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 10:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500362#M1133095</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-11-09T10:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500363#M1133096</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;it is due to the fact that the parents do not have any data.&lt;/P&gt;&lt;P&gt;Please, read a doc I have written on the subject that explain the 2 or 3 tricks to do to have a complete hierarchy:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4823"&gt;http://community.qlik.com/docs/DOC-4823&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 14:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500363#M1133096</guid>
      <dc:creator />
      <dc:date>2013-11-09T14:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500364#M1133097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this actually solved the other issue I had where I wanted the selection of the Parent to include the Children even if the Parent is not in the Fact Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;However, my current issue I don't see a resolution, at least with my limited abilities, to limit the &lt;/SPAN&gt;Hierarchy&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt; load to only the children that exist in the fact table and not exclude the Parent out of the &lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5px;"&gt;Hierarchy&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt; Load without rebuilding a heirarchy table that is dedicated to just this QV Application. If I load all the children the Treeview list&amp;nbsp; box works properly but I have a lot of children that do not contain values and are &lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5px;"&gt;unnecessary&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt; to the &lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5px;"&gt;document&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 23:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500364#M1133097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-09T23:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchy Load Question</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500365#M1133098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the Solution.&amp;nbsp; I created a Link Table using Hierarchy Belongs To described in &lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/people/FABRICE44"&gt;FABRICE44&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; article and then used Where Exists on the Link Table to limit it to the Fact Table.&amp;nbsp; Finally I do a Resident Load on the original Hierarchy Load and left keep it to the Link Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;[Center Temp]:&lt;/P&gt;&lt;P&gt;HIERARCHY([%CenterID],[Parent],[Center - Name],,[Center - Name],[Center Rollup], '*',CenterDepth)&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Child as %CenterID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Parent,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Center Name] as [Center Name], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child &amp;amp; ' - ' &amp;amp; [Center Name] as [Center - Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\whpf3001\QlikView$\1. Source Data\Dimension Tables\TM1 Dimensions.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Center);&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;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;[Center Temp2]:&lt;/P&gt;&lt;P&gt;HierarchyBelongsTo([%CenterID],[Parent],[Center - Name],'Ancestor Key','Ancestor Name')&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Child as %CenterID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Parent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Child ID] as [%Center Child ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Parent ID] as [%Center Parent ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Center Name] as [Center Name],&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child &amp;amp; ' - ' &amp;amp; [Center Name] as [Center - Name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\whpf3001\QlikView$\1. Source Data\Dimension Tables\TM1 Dimensions.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Center)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;LOAD [Ancestor Key] as %CenterID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; %CenterID as Center&lt;/P&gt;&lt;P&gt;Resident [Center Temp2]&lt;/P&gt;&lt;P&gt;Where EXists(Center,%CenterID);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CentersDimension:&lt;/P&gt;&lt;P&gt;LEFT KEEP(Link)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%CenterID,&lt;/P&gt;&lt;P&gt;[Center Rollup]&lt;/P&gt;&lt;P&gt;Resident [Center Temp]&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE [Center Temp];&lt;/P&gt;&lt;P&gt;DROP TABLE [Center Temp2];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image 1.png" class="jive-image" src="/legacyfs/online/48812_Image 1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 23:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchy-Load-Question/m-p/500365#M1133098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-10T23:53:23Z</dc:date>
    </item>
  </channel>
</rss>

