<?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 QlikView Hierarchy Function - using an existing QlikView table as source in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Hierarchy-Function-using-an-existing-QlikView-table-as/m-p/1292304#M460912</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used account hierarchies in QlikView to analyze financial data (balance sheets, income statements, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I had to transform data in excel to generate the data structure QlikView requires to recreate.&lt;/P&gt;&lt;P&gt;the account hierarchy (see:&amp;nbsp; &lt;A href="https://community.qlik.com/docs/DOC-4823"&gt;Hierarchy in QlikView&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More specifically, I generated the hierarchy keys and parent keys with excel functions and vba programming&amp;nbsp; &lt;BR /&gt;which is very time-consuming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now trying to reduce the amount of time I have to spend to update hierarchies within the application to a minimum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to do the majority of the required transformation in the QlikView script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to create a structure which is quite similar to the required one using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="156336" alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156336_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This creates such a table:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="156337" alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/156337_Capture2.PNG" style="width: 620px; height: 405px;" /&gt;&lt;/P&gt;&lt;P&gt;I now have to tell QlikView to use a combination of the column letter and row number from this table&lt;/P&gt;&lt;P&gt;as the hierarchy key (e.g. for account number 1110000: hierarchy key: D4, parent key: C3) so that&lt;/P&gt;&lt;P&gt;I can use the hierarchy in a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will attach the source file and the sample application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any further questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2017 11:21:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-15T11:21:25Z</dc:date>
    <item>
      <title>QlikView Hierarchy Function - using an existing QlikView table as source</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Hierarchy-Function-using-an-existing-QlikView-table-as/m-p/1292304#M460912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used account hierarchies in QlikView to analyze financial data (balance sheets, income statements, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I had to transform data in excel to generate the data structure QlikView requires to recreate.&lt;/P&gt;&lt;P&gt;the account hierarchy (see:&amp;nbsp; &lt;A href="https://community.qlik.com/docs/DOC-4823"&gt;Hierarchy in QlikView&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More specifically, I generated the hierarchy keys and parent keys with excel functions and vba programming&amp;nbsp; &lt;BR /&gt;which is very time-consuming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now trying to reduce the amount of time I have to spend to update hierarchies within the application to a minimum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to do the majority of the required transformation in the QlikView script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to create a structure which is quite similar to the required one using the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="156336" alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156336_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This creates such a table:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="156337" alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/156337_Capture2.PNG" style="width: 620px; height: 405px;" /&gt;&lt;/P&gt;&lt;P&gt;I now have to tell QlikView to use a combination of the column letter and row number from this table&lt;/P&gt;&lt;P&gt;as the hierarchy key (e.g. for account number 1110000: hierarchy key: D4, parent key: C3) so that&lt;/P&gt;&lt;P&gt;I can use the hierarchy in a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will attach the source file and the sample application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any further questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 11:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Hierarchy-Function-using-an-existing-QlikView-table-as/m-p/1292304#M460912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-15T11:21:25Z</dc:date>
    </item>
  </channel>
</rss>

