<?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: Tree view / hierarchy display in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381823#M142449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Now it seems to be ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thank you for your reference I will do some reading.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Tomer&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2012 20:42:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-29T20:42:31Z</dc:date>
    <item>
      <title>Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381817#M142443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have data that is actually survey response&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It include 5 questions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Several possible answers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The display I like to achieve is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Q1 &amp;gt;&amp;gt;&amp;gt; option 1 (100 users)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Option 1 (100 users) &amp;gt;&amp;gt;&amp;gt; message 2 &amp;gt;&amp;gt;&amp;gt; option 1(20 users)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;gt; option 2 (70 users)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;&amp;gt;&amp;gt; option3 (10 users)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And so on….&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What I’m trying to do is classification, in case user select one option what will be his probability to more for the next option in the tree.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is what im using for loading the hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;data:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Hierarchy&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt; question&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;menu_option&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt; menu_option&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,TreeView) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;user_id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;question&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;menu_option&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;menu_option&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; =Male,1,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;menu_option&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; =Female,2)) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;gender&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; input&lt;BR /&gt; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Appreciate any advice on that subject.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Tomer&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 12:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381817#M142443</guid>
      <dc:creator />
      <dc:date>2012-08-29T12:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381818#M142444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post some sqample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 12:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381818#M142444</guid>
      <dc:creator>sreenivas</dc:creator>
      <dc:date>2012-08-29T12:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381819#M142445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added to the original post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tomer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 12:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381819#M142445</guid>
      <dc:creator />
      <dc:date>2012-08-29T12:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381820#M142446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is you don't have hierarhy in your data.&lt;/P&gt;&lt;P&gt;Look at the attached script. I've added 'parent_question' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this script and&amp;nbsp; list box wil show hierarhy of menu options based on subsiquent hierarhy of questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 14:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381820#M142446</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-29T14:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381821#M142447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;I see the hierarchy but its look like most of the users grouped under one parent, in my case “Homen”,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Which I know should not be like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;What this “parent_question” is actually doing? What the use of it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;If I understand maybe I can adapted accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 14:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381821#M142447</guid>
      <dc:creator />
      <dc:date>2012-08-29T14:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381822#M142448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, thats right. My mistake, all questions is relative to user_id.&lt;/P&gt;&lt;P&gt;Now i use string (user_id &amp;amp; '\' &amp;amp; question) as node id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should examine help manual for hierarhy tag:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The syntax is:&lt;/P&gt;&lt;P&gt;Hierarchy (NodeID,ParentID, NodeName, [ParentName], [PathSource],&lt;/P&gt;&lt;P&gt;[PathName], [PathDelimiter], [Depth]) (loadstatement | selectstatement)&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NodeIDis&lt;/STRONG&gt; the name of the field that contains the node id.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ParentIDis&lt;/STRONG&gt; the name of the field that contains the node id of the parent node.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NodeName&lt;/STRONG&gt; is the name of the field that contains the name of the node.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ParentName&lt;/STRONG&gt; is a string used to name the new ParentNamefield. If omitted,&lt;/P&gt;&lt;P&gt;this field will not be created.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PathSource&lt;/STRONG&gt; is the name of the field that contains the name of the node used&lt;/P&gt;&lt;P&gt;to build the node path. Optional parameter. If omitted, NodeNamewill be&lt;/P&gt;&lt;P&gt;used.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PathName&lt;/STRONG&gt; is a string used to name the new Path field, which contains the&lt;/P&gt;&lt;P&gt;path from the root to the node. Optional parameter. If omitted, this field will&lt;/P&gt;&lt;P&gt;not be created.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your data should represent nodes of the tree and connections between them (&lt;A class="loading" href="http://en.wikipedia.org/wiki/Tree_(data_structure)" title="http://en.wikipedia.org/wiki/Tree_(data_structure)"&gt;http://en.wikipedia.org/wiki/Tree_(data_structure)&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;So that they should have self id (question_complex_id) and parent node id (parent_question_complex_id).&lt;/P&gt;&lt;P&gt;Answering your question: parent id tells who is above this element in the tree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 16:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381822#M142448</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-08-29T16:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381823#M142449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Now it seems to be ok.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thank you for your reference I will do some reading.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Tomer&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 20:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381823#M142449</guid>
      <dc:creator />
      <dc:date>2012-08-29T20:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tree view / hierarchy display</title>
      <link>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381824#M142450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Any suggestion what will be the best way to represent that in a graph?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 04:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Tree-view-hierarchy-display/m-p/381824#M142450</guid>
      <dc:creator />
      <dc:date>2012-08-30T04:43:59Z</dc:date>
    </item>
  </channel>
</rss>

