<?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 drop a hierarchy level in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106622#M463688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an urgent request and dont know how to solve this.&lt;/P&gt;&lt;P&gt;I have an existing hierarchy (not able to be changed because it is source for several databases).&lt;/P&gt;&lt;P&gt;I created this hierarchy with tree and so on and everything works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I Need to skip the lines with TreeDepth below three in the script.&lt;/P&gt;&lt;P&gt;Does someone of you have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127771" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127771_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I will attach sample datafile. The aim is to get rid of Total Assets (TreeDepths =1) and Total LT Assets (TreeDepths=2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 09:11:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-14T09:11:41Z</dc:date>
    <item>
      <title>drop a hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106622#M463688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an urgent request and dont know how to solve this.&lt;/P&gt;&lt;P&gt;I have an existing hierarchy (not able to be changed because it is source for several databases).&lt;/P&gt;&lt;P&gt;I created this hierarchy with tree and so on and everything works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I Need to skip the lines with TreeDepth below three in the script.&lt;/P&gt;&lt;P&gt;Does someone of you have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="127771" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127771_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I will attach sample datafile. The aim is to get rid of Total Assets (TreeDepths =1) and Total LT Assets (TreeDepths=2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:11:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106622#M463688</guid>
      <dc:creator />
      <dc:date>2016-06-14T09:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: drop a hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106623#M463689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that you can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load [...]&lt;/P&gt;&lt;P&gt;SQL Select [...]&lt;/P&gt;&lt;P&gt;From [...] where "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;TreeDepth"&amp;nbsp; &amp;gt;= 3;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel del Valle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:18:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106623#M463689</guid>
      <dc:creator>migueldelval</dc:creator>
      <dc:date>2016-06-14T09:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: drop a hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106624#M463690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you use calculated dimension in your chart as if(TreeDepth&amp;lt;&amp;gt;1 and &lt;SPAN style="font-size: 13.3333px;"&gt;TreeDepth&amp;lt;&amp;gt;2, &lt;SPAN style="font-size: 13.3333px;"&gt;TreeDepth) to meet the immediate need of the chart.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106624#M463690</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-14T09:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: drop a hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106625#M463691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Digvijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this Diagram I do it like that. But in this model the Level 1+2 are always incorrect because we are just looking at a part of the whole pic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I want to avoid that collegues do it wrong when they work with the structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106625#M463691</guid>
      <dc:creator />
      <dc:date>2016-06-14T09:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: drop a hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106626#M463692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean you would like to delete them in the script after hierarchy data creation?&lt;/P&gt;&lt;P&gt;You may create new temp file with last two records smthing like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="font-size: 13.3333px;"&gt;TreeDepth as TempTreeDepth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident Mainfile&lt;/P&gt;&lt;P&gt;Where (Match(TreeDepth,'1','2'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then reduce mainfile as&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Resident Mainfile&lt;/P&gt;&lt;P&gt;Where not exist(&lt;SPAN style="font-size: 13.3333px;"&gt;TempTreeDepth,&lt;SPAN style="font-size: 13.3333px;"&gt;TreeDepth )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can delete old main file and rename final to main file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106626#M463692</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-06-14T09:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: drop a hierarchy level</title>
      <link>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106627#M463693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Digvijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first part works. Thank you.&lt;/P&gt;&lt;P&gt;Can you have a look at the second part. This is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127779_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127780_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 10:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/drop-a-hierarchy-level/m-p/1106627#M463693</guid>
      <dc:creator />
      <dc:date>2016-06-14T10:31:39Z</dc:date>
    </item>
  </channel>
</rss>

