<?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 Help on hierarchy problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561101#M483256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all, I'm new with QlikView Desktop and I'm starting to explore the powerful features of this product.&lt;/P&gt;&lt;P&gt;I've the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two excel sheets AGENTI.xslx and CLIENTI.xslx&lt;/P&gt;&lt;P&gt;AGENTI.xslx contains two columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDAG (contains the unique identifier for an agent)&lt;/P&gt;&lt;P&gt;IDAGFATHER (contains the unique identifier for the chief of the agent, if null the agent is on the top of the hierarchy )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLIENTI.xslsx contains three columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDCLI (contains the unique identifier for the customer)&lt;/P&gt;&lt;P&gt;RAGSOC (contains a description)&lt;/P&gt;&lt;P&gt;IDAG (contains the id of the agent rseponsible for the customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to create a QlikView document that allow to perform the following operations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; If a choose an agent (for instance A6) I want to know all customer that have A6 as responsible (so in my excel must be displayed IDCLI = 2,3)&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; If a choose an agent&amp;nbsp; and thick on a checkbox (or some other idea) I want to know all customer that have A6 as responsible or a child of A6 in the hierarchy(so in my excel must be displayed IDCLI = 2, 3, 4,5,6,10,11) because 2 and 3 are related to A6, 4 and 5 related to A7 that is a child of A6, 6 and 10 related to A8 a child of A7 and 11 related to A9 that is a child of A8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this explaination is enough, if someone needs more info get in touch with me as soon as you like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the both files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you to all for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrizio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 11:07:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-10T11:07:10Z</dc:date>
    <item>
      <title>Help on hierarchy problem</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561101#M483256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all, I'm new with QlikView Desktop and I'm starting to explore the powerful features of this product.&lt;/P&gt;&lt;P&gt;I've the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two excel sheets AGENTI.xslx and CLIENTI.xslx&lt;/P&gt;&lt;P&gt;AGENTI.xslx contains two columns:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDAG (contains the unique identifier for an agent)&lt;/P&gt;&lt;P&gt;IDAGFATHER (contains the unique identifier for the chief of the agent, if null the agent is on the top of the hierarchy )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLIENTI.xslsx contains three columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IDCLI (contains the unique identifier for the customer)&lt;/P&gt;&lt;P&gt;RAGSOC (contains a description)&lt;/P&gt;&lt;P&gt;IDAG (contains the id of the agent rseponsible for the customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to create a QlikView document that allow to perform the following operations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; If a choose an agent (for instance A6) I want to know all customer that have A6 as responsible (so in my excel must be displayed IDCLI = 2,3)&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; If a choose an agent&amp;nbsp; and thick on a checkbox (or some other idea) I want to know all customer that have A6 as responsible or a child of A6 in the hierarchy(so in my excel must be displayed IDCLI = 2, 3, 4,5,6,10,11) because 2 and 3 are related to A6, 4 and 5 related to A7 that is a child of A6, 6 and 10 related to A8 a child of A7 and 11 related to A9 that is a child of A8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this explaination is enough, if someone needs more info get in touch with me as soon as you like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the both files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you to all for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrizio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 11:07:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561101#M483256</guid>
      <dc:creator />
      <dc:date>2013-07-10T11:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help on hierarchy problem</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561102#M483257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 11:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561102#M483257</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-07-10T11:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help on hierarchy problem</title>
      <link>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561103#M483258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please see the attached file.&lt;/P&gt;&lt;P&gt;Here you will have the extra fields if you want to create a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 12:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-on-hierarchy-problem/m-p/561103#M483258</guid>
      <dc:creator />
      <dc:date>2013-07-10T12:08:48Z</dc:date>
    </item>
  </channel>
</rss>

