<?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 Reports with tree field structure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192587#M54203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know this instruction. Is it possible to get a script example of Expanded Hierarchy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 11:40:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-17T11:40:02Z</dc:date>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192583#M54199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to report sales figures in a treeview (product structure).&lt;/P&gt;&lt;P&gt;I'm using the field "Path" with the treeView option, to structure the product view as a tree. That's OK.&lt;/P&gt;&lt;P&gt;What I do not know is how can I report figures on that treeView, as this is a selection field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1807_sourceID:1807" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 10:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192583#M54199</guid>
      <dc:creator />
      <dc:date>2010-06-17T10:46:33Z</dc:date>
    </item>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192584#M54200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use pivot table with Expanded hierarchy data in dimensions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 10:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192584#M54200</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-17T10:48:33Z</dc:date>
    </item>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192585#M54201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell how to do this , where do I define Expanded hierarchy data in dimensions ?&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192585#M54201</guid>
      <dc:creator />
      <dc:date>2010-06-17T11:25:22Z</dc:date>
    </item>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192586#M54202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use&lt;/P&gt;&lt;P&gt;hierarchy statement in the script you create Expanded hierarchy:&lt;/P&gt;&lt;P&gt;Level1, Level2 etc fields.&lt;/P&gt;&lt;P&gt;you can use this fields in pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192586#M54202</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-17T11:27:56Z</dc:date>
    </item>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192587#M54203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not know this instruction. Is it possible to get a script example of Expanded Hierarchy ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192587#M54203</guid>
      <dc:creator />
      <dc:date>2010-06-17T11:40:02Z</dc:date>
    </item>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192588#M54204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hierarchy&lt;BR /&gt;The hierarchy keyword is a prefix to the load and select statements. It is&lt;BR /&gt;used to transform an adjacent nodes table to an expanded nodes table.&lt;BR /&gt;Hence, the input table must be an adjacent nodes table as described in section&lt;BR /&gt;Hierarchies, page 481. The output of the hierarchy prefix is an&lt;BR /&gt;expanded nodes table with all the needed additional fields.&lt;BR /&gt;Normally, the input table has exactly one record per node and in such a case&lt;BR /&gt;the output table will contain the same number of records. However, sometimes&lt;BR /&gt;there are nodes with multiple parents, i.e. one node is represented by&lt;BR /&gt;several records. If so, the output table may have more records than the input&lt;BR /&gt;table.&lt;BR /&gt;All nodes without a parent id or with a parent id not found in the nodeID column&lt;BR /&gt;will be considered as roots. Also, only nodes with a connection to a root&lt;BR /&gt;node - direct or indirect - will be loaded, thus avoiding circular references.&lt;BR /&gt;Additional fields containing the name of the parent node, the path of the&lt;BR /&gt;node and the depth of the node can be created.&lt;BR /&gt;The syntax is:&lt;BR /&gt;Hierarchy (NodeID, ParentID, NodeName, [ParentName], [PathSource],&lt;BR /&gt;[PathName], [PathDelimiter], [Depth]) (loadstatement | selectstatement)&lt;BR /&gt;Where&lt;BR /&gt;NodeID is the name of the field that contains the node id.&lt;BR /&gt;ParentID is the name of the field that contains the node id of the parent node.&lt;BR /&gt;NodeName is the name of the field that contains the name of the node.&lt;BR /&gt;300&lt;BR /&gt;ParentName is a string used to name the new ParentName field. If omitted,&lt;BR /&gt;this field will not be created.&lt;BR /&gt;PathSource is the name of the field that contains the name of the node used&lt;BR /&gt;to build the node path. Optional parameter. If omitted, NodeName will be&lt;BR /&gt;used.&lt;BR /&gt;PathName is a string used to name the new Path field, which contains the&lt;BR /&gt;path from the root to the node. Optional parameter. If omitted, this field will&lt;BR /&gt;not be created.&lt;BR /&gt;PathDelimiter is a string used as delimiter in the new Path field. Optional&lt;BR /&gt;parameter. If omitted, '/' will be used.&lt;BR /&gt;Depth is a string used to name the new Depth field, which contains the depth&lt;BR /&gt;of the node in the hierarchy. Optional parameter. If omitted, this field will&lt;BR /&gt;not be created.&lt;BR /&gt;Example:&lt;BR /&gt;Hierarchy(NodeID, ParentID, NodeName) Load&lt;BR /&gt;NodeID,&lt;BR /&gt;ParentID,&lt;BR /&gt;NodeName,&lt;BR /&gt;Attribute&lt;BR /&gt;From data.xls (biff, embedded labels, table is&lt;BR /&gt;[Sheet1$];&lt;BR /&gt;The load statement syntax is described on page 309. The select statement&lt;BR /&gt;syntax is described on page 329.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;see in Qlikview reference manual for more details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192588#M54204</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-06-17T11:43:40Z</dc:date>
    </item>
    <item>
      <title>Reports with tree field structure</title>
      <link>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192589#M54205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK , but I already use the instrcution HIERARCHY in the script. See below.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&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;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;//********** Opbouwen van de artikel tree *****************&lt;/P&gt;&lt;P&gt;Artikeltree:&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;HIERARCHY&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;// ( NodeID, ParentID, NodeName )&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// ( %Key_Product_groep, artparent, artikelgroepoms, , %Key_Product_groep, Path)&lt;/P&gt;&lt;P style="font-weight: bold"&gt;// ( %Key_Product_groep, artparent, artikelgroepoms, artparentoms , %Key_Product_groep, Path)&lt;/P&gt;&lt;P&gt;( %Key_Product_groep, artparent, artikelgroepoms, , artikelgroepoms , Path)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&amp;amp; '-' &amp;amp; artgrp &lt;B&gt;as&lt;/B&gt; %Key_Product_groep, &lt;P&gt;&lt;B&gt;//(artgrp of artgrp-fl)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;firnr &amp;amp; '-' &amp;amp; left(artgrp,(4*(niv-1))) &amp;amp; repeat( '0000', 8-niv+1) &lt;B&gt;as&lt;/B&gt; artparent, &lt;P&gt;&lt;B&gt;// laatste 4 posities eeraf voor parent te verkrijgen&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;// toevoegen van x '0000' om aan 8 occurencies te geraken&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;omschr1 &lt;B&gt;as&lt;/B&gt; &lt;P&gt;artikelgroepoms&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;FROM&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&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;&lt;/P&gt;&lt;P&gt;\data\QVD\artgrp.qvd&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&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;qvd) &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;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But questions is how to make a report with the treeView field together with sales data. (and not pivot table fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1106.tree2.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1106.tree2.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5710.trreview.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5710.trreview.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5633.tree1.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5633.tree1.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 12:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reports-with-tree-field-structure/m-p/192589#M54205</guid>
      <dc:creator />
      <dc:date>2010-06-17T12:56:35Z</dc:date>
    </item>
  </channel>
</rss>

