<?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: TreeView question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789185#M279059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use TreeView this way. The tree view is made to show hierarchies where each node has a record of its own in the source data. E.g.: "EU", "Canada" and "NA" should all have their own records. In your case, only the lowest level in the hierarchy has their own records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to load your table so that this demand is fulfilled, is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load City as NodeID, Region, Country, City, Region &amp;amp;'/'&amp;amp; Country &amp;amp;'/'&amp;amp; City as Path From ... ;&lt;/P&gt;&lt;P&gt;Concatenate Load Country as NodeID, Region, Country, Region &amp;amp;'/'&amp;amp; Country as Path From ... ;&lt;/P&gt;&lt;P&gt;Concatenate Load Region as NodeID, Region, Region as Path From ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another. better way, is to store the data as an adjacent nodes table, and to load it with a Hierarchy prefix.&lt;/P&gt;&lt;P&gt;Read more here: &lt;A href="https://community.qlik.com/docs/DOC-5334"&gt;Hierarchies&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2014 11:27:59 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2014-11-07T11:27:59Z</dc:date>
    <item>
      <title>TreeView question</title>
      <link>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789184#M279058</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;I am trying to create a TreeView listbox with fields &lt;EM&gt;&lt;STRONG&gt;Region, Country &lt;/STRONG&gt;&lt;/EM&gt;and&lt;EM&gt;&lt;STRONG&gt; City&lt;/STRONG&gt;&lt;/EM&gt;. My TreeView allows me to select the value at the lowest level (City in my case), but I am not able to select values in Country and Region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make it work when I select Country and Region as well? The reference app is attached herewith.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789184#M279058</guid>
      <dc:creator>bhaskarsharma03</dc:creator>
      <dc:date>2014-11-07T10:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: TreeView question</title>
      <link>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789185#M279059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use TreeView this way. The tree view is made to show hierarchies where each node has a record of its own in the source data. E.g.: "EU", "Canada" and "NA" should all have their own records. In your case, only the lowest level in the hierarchy has their own records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to load your table so that this demand is fulfilled, is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load City as NodeID, Region, Country, City, Region &amp;amp;'/'&amp;amp; Country &amp;amp;'/'&amp;amp; City as Path From ... ;&lt;/P&gt;&lt;P&gt;Concatenate Load Country as NodeID, Region, Country, Region &amp;amp;'/'&amp;amp; Country as Path From ... ;&lt;/P&gt;&lt;P&gt;Concatenate Load Region as NodeID, Region, Region as Path From ... ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another. better way, is to store the data as an adjacent nodes table, and to load it with a Hierarchy prefix.&lt;/P&gt;&lt;P&gt;Read more here: &lt;A href="https://community.qlik.com/docs/DOC-5334"&gt;Hierarchies&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 11:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789185#M279059</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-11-07T11:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: TreeView question</title>
      <link>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789186#M279060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at this discussion too: &lt;A href="https://community.qlik.com/thread/140695"&gt;Treeviewer problem while expanding&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 11:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/TreeView-question/m-p/789186#M279060</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-11-07T11:32:01Z</dc:date>
    </item>
  </channel>
</rss>

