<?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 Chart - Filtering a hierarchy in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Filtering-a-hierarchy/m-p/1325231#M410120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Short version is :&lt;/P&gt;&lt;P&gt;when a user clicks on Dimension2 of my chart, I want the selected value to be applied to Dimension1 instead of Dimension2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longer version with background is ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the title, I am working with a Hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my source 'Adjacent' table.&amp;nbsp; (Node-Parent)&lt;/P&gt;&lt;P&gt;I used 'Hierarchy' to generate a 'PATH' table.&lt;/P&gt;&lt;P&gt;Also used&amp;nbsp; 'HierarchyBelongsTo' to create a 'Branch' table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the UI, I am using a Gant Chart.&amp;nbsp; (Grouped bar chart with Bar Offsets)&lt;/P&gt;&lt;P&gt;Dimension 1 = 'BranchID'&lt;/P&gt;&lt;P&gt;Dimension 2 = 'NodeID'&amp;nbsp;&amp;nbsp; (sorted by time)&lt;/P&gt;&lt;P&gt;Expression = max([Node_EndTime]) - max([Node_StartTime])&lt;/P&gt;&lt;P&gt;Offset = min([Node_StartTime])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works lovely, and visualises the time structure of my hierarchy tree wonderfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when it comes to filtering the chart tree, I have limited behaviour.&lt;/P&gt;&lt;P&gt;If use selects a node (bar) in the chart, it filters by NodeID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like, in a perfect world, if that the selected node becomes the new root for the displayed tree.&lt;/P&gt;&lt;P&gt;So, in effect, when a user clicks in a NodeID, I actually want to filter the chart :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;where [BranchID] = Clicked [NodeID]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ?!?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 10:37:50 GMT</pubDate>
    <dc:creator>simonb2013</dc:creator>
    <dc:date>2017-05-11T10:37:50Z</dc:date>
    <item>
      <title>Chart - Filtering a hierarchy</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Filtering-a-hierarchy/m-p/1325231#M410120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Short version is :&lt;/P&gt;&lt;P&gt;when a user clicks on Dimension2 of my chart, I want the selected value to be applied to Dimension1 instead of Dimension2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longer version with background is ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the title, I am working with a Hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my source 'Adjacent' table.&amp;nbsp; (Node-Parent)&lt;/P&gt;&lt;P&gt;I used 'Hierarchy' to generate a 'PATH' table.&lt;/P&gt;&lt;P&gt;Also used&amp;nbsp; 'HierarchyBelongsTo' to create a 'Branch' table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the UI, I am using a Gant Chart.&amp;nbsp; (Grouped bar chart with Bar Offsets)&lt;/P&gt;&lt;P&gt;Dimension 1 = 'BranchID'&lt;/P&gt;&lt;P&gt;Dimension 2 = 'NodeID'&amp;nbsp;&amp;nbsp; (sorted by time)&lt;/P&gt;&lt;P&gt;Expression = max([Node_EndTime]) - max([Node_StartTime])&lt;/P&gt;&lt;P&gt;Offset = min([Node_StartTime])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works lovely, and visualises the time structure of my hierarchy tree wonderfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when it comes to filtering the chart tree, I have limited behaviour.&lt;/P&gt;&lt;P&gt;If use selects a node (bar) in the chart, it filters by NodeID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like, in a perfect world, if that the selected node becomes the new root for the displayed tree.&lt;/P&gt;&lt;P&gt;So, in effect, when a user clicks in a NodeID, I actually want to filter the chart :&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;where [BranchID] = Clicked [NodeID]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible ?!?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 10:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Filtering-a-hierarchy/m-p/1325231#M410120</guid>
      <dc:creator>simonb2013</dc:creator>
      <dc:date>2017-05-11T10:37:50Z</dc:date>
    </item>
  </channel>
</rss>

