<?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: create a list box as TreeView having only complete dinamic path of a document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685145#M248308</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;to be able to select nodes by their parents, those have to have rows of their own in the hierarchy field.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So one solution could be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66621" alt="QlikCommunity_Thread_133098_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66621_QlikCommunity_Thread_133098_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66622" alt="QlikCommunity_Thread_133098_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66622_QlikCommunity_Thread_133098_Pic2.JPG.jpg" /&gt;&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_14105593512959628" jivemacro_uid="_14105593512959628"&gt;
&lt;P&gt;TTREE:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE&lt;/P&gt;
&lt;P&gt;[DOC,PATH,DESCRIPTION&lt;/P&gt;
&lt;P&gt;doc1, B/B0/B00/B00001,DESC 1&lt;/P&gt;
&lt;P&gt;doc2, B/B0/B00/B00002,DESC 2&lt;/P&gt;
&lt;P&gt;doc3, B/B0/B00/B00003,DESC 3&lt;/P&gt;
&lt;P&gt;doc4, B/B0/B01/B01001,DESC 4&lt;/P&gt;
&lt;P&gt;doc5, B/B0/B01/B01001/B010001,DESC 5&lt;/P&gt;
&lt;P&gt;doc6, A/A0/A00/A00001,DESC 6&lt;/P&gt;
&lt;P&gt;doc7, A/A0/A00/A00002,DESC 7&lt;/P&gt;
&lt;P&gt;doc8, A/A0/A00/A00002,DESC 8&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD PATH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(PATH,Index(PATH&amp;amp;'/','/',IterNo())-1) as PATH_SELECT&lt;/P&gt;
&lt;P&gt;Resident TTREE&lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;=SubStringCount(PATH,'/')+1;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&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>Fri, 12 Sep 2014 17:45:19 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-09-12T17:45:19Z</dc:date>
    <item>
      <title>create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685140#M248303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good morning,&lt;/P&gt;&lt;P&gt;i have a problem with list box selection in treeview mode.&lt;/P&gt;&lt;P&gt;in the Structure I have only a document and his full path(one document can have a different path level) but when i select a parent node no document selcted.&lt;/P&gt;&lt;P&gt;I attached a simply example to understand my problem.&lt;/P&gt;&lt;P&gt;can someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for you attention and have a good day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 09:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685140#M248303</guid>
      <dc:creator />
      <dc:date>2014-09-12T09:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685141#M248304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should learn about qv hierarchy: &lt;A href="https://community.qlik.com/docs/DOC-5334"&gt;Hierarchies&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 09:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685141#M248304</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-12T09:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685142#M248305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the link &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;unfortunatly i don't find anithing that can help me.i find only example about static structure or strcture already right or structure with parent-child column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your attention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 12:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685142#M248305</guid>
      <dc:creator />
      <dc:date>2014-09-12T12:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685143#M248306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there has to be a child-parent relationship, if not existing in the desired format, you have to play in the script a bit to create one. Is your source data really like what you showed in inline table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 12:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685143#M248306</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-12T12:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685144#M248307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, in my source data the value have the same structure that i put in inline table,&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 13:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685144#M248307</guid>
      <dc:creator />
      <dc:date>2014-09-12T13:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685145#M248308</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;to be able to select nodes by their parents, those have to have rows of their own in the hierarchy field.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So one solution could be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66621" alt="QlikCommunity_Thread_133098_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66621_QlikCommunity_Thread_133098_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="66622" alt="QlikCommunity_Thread_133098_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/66622_QlikCommunity_Thread_133098_Pic2.JPG.jpg" /&gt;&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_14105593512959628" jivemacro_uid="_14105593512959628"&gt;
&lt;P&gt;TTREE:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE&lt;/P&gt;
&lt;P&gt;[DOC,PATH,DESCRIPTION&lt;/P&gt;
&lt;P&gt;doc1, B/B0/B00/B00001,DESC 1&lt;/P&gt;
&lt;P&gt;doc2, B/B0/B00/B00002,DESC 2&lt;/P&gt;
&lt;P&gt;doc3, B/B0/B00/B00003,DESC 3&lt;/P&gt;
&lt;P&gt;doc4, B/B0/B01/B01001,DESC 4&lt;/P&gt;
&lt;P&gt;doc5, B/B0/B01/B01001/B010001,DESC 5&lt;/P&gt;
&lt;P&gt;doc6, A/A0/A00/A00001,DESC 6&lt;/P&gt;
&lt;P&gt;doc7, A/A0/A00/A00002,DESC 7&lt;/P&gt;
&lt;P&gt;doc8, A/A0/A00/A00002,DESC 8&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD PATH,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left(PATH,Index(PATH&amp;amp;'/','/',IterNo())-1) as PATH_SELECT&lt;/P&gt;
&lt;P&gt;Resident TTREE&lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;=SubStringCount(PATH,'/')+1;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&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>Fri, 12 Sep 2014 17:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685145#M248308</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-12T17:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: create a list box as TreeView having only complete dinamic path of a document</title>
      <link>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685146#M248309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great!!!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;works fine!&lt;/P&gt;&lt;P&gt;many thanks again and have a nice day!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 06:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-a-list-box-as-TreeView-having-only-complete-dinamic-path/m-p/685146#M248309</guid>
      <dc:creator />
      <dc:date>2014-09-15T06:51:06Z</dc:date>
    </item>
  </channel>
</rss>

