<?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 Load dimension and fact from file with different hierarchy structures in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-dimension-and-fact-from-file-with-different-hierarchy/m-p/30966#M5143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a complex task, where I have quite uncommon file format, and I am not able to Load it correctly. I hope someone will be able to help me or point to the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example very similar to the file that I have:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="202395" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202395_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also in attachment as excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description.&lt;/P&gt;&lt;P&gt;- There are some hierarchy levels (you can imagine like Companies which are owned by other Companies)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - B is a country, which has different structure from country A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - A is quite clear, A33333 is Company on level 3; but B33333 is NOT level 5, but its level is determined by column Level_4, by the suffix of its value - so B33333 is level 3 because on the same row we have Level 4 = A0001L3 --- L3 is saying that it is Level_3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Level_3 for B is skipped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other important thing is, that this file is already aggregated, and I only want to show numbers (using only, not sum) based on the selections made.&amp;nbsp; (I wont be able to select more than 1 company!, so &lt;STRONG&gt;only&lt;/STRONG&gt; should return always 1 value - or 1 row)&lt;/P&gt;&lt;P&gt;- So for example, if I select A, but nothing else - my text box for example will show 90.&lt;/P&gt;&lt;P&gt;- If I select A33333, it will show 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I was thinking how to work with this, and the thought is to create a hierarchy table having 3 main columns, like superior_key; subordinate_key; name. This way, if I get again different structure for other country, I will be able to make it same. &lt;/P&gt;&lt;P&gt;Can someone help me with this, how should I approach this.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 08:33:02 GMT</pubDate>
    <dc:creator>retko1985</dc:creator>
    <dc:date>2018-05-15T08:33:02Z</dc:date>
    <item>
      <title>Load dimension and fact from file with different hierarchy structures</title>
      <link>https://community.qlik.com/t5/QlikView/Load-dimension-and-fact-from-file-with-different-hierarchy/m-p/30966#M5143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a complex task, where I have quite uncommon file format, and I am not able to Load it correctly. I hope someone will be able to help me or point to the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example very similar to the file that I have:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="202395" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202395_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also in attachment as excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description.&lt;/P&gt;&lt;P&gt;- There are some hierarchy levels (you can imagine like Companies which are owned by other Companies)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - B is a country, which has different structure from country A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - A is quite clear, A33333 is Company on level 3; but B33333 is NOT level 5, but its level is determined by column Level_4, by the suffix of its value - so B33333 is level 3 because on the same row we have Level 4 = A0001L3 --- L3 is saying that it is Level_3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Level_3 for B is skipped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other important thing is, that this file is already aggregated, and I only want to show numbers (using only, not sum) based on the selections made.&amp;nbsp; (I wont be able to select more than 1 company!, so &lt;STRONG&gt;only&lt;/STRONG&gt; should return always 1 value - or 1 row)&lt;/P&gt;&lt;P&gt;- So for example, if I select A, but nothing else - my text box for example will show 90.&lt;/P&gt;&lt;P&gt;- If I select A33333, it will show 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I was thinking how to work with this, and the thought is to create a hierarchy table having 3 main columns, like superior_key; subordinate_key; name. This way, if I get again different structure for other country, I will be able to make it same. &lt;/P&gt;&lt;P&gt;Can someone help me with this, how should I approach this.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 08:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-dimension-and-fact-from-file-with-different-hierarchy/m-p/30966#M5143</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2018-05-15T08:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load dimension and fact from file with different hierarchy structures</title>
      <link>https://community.qlik.com/t5/QlikView/Load-dimension-and-fact-from-file-with-different-hierarchy/m-p/30967#M5144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone have any idea how can I process file like this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 14:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-dimension-and-fact-from-file-with-different-hierarchy/m-p/30967#M5144</guid>
      <dc:creator>retko1985</dc:creator>
      <dc:date>2018-05-18T14:48:33Z</dc:date>
    </item>
  </channel>
</rss>

