<?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 Re: Hierarchical loop (if then) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773757#M274520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joshmi George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have one more requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i have given is a very small sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this on my actual database which runs to more than 35 lakh records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, when the loop runs, the number of virtual records created is several crores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to run this loop only for selected records. assuming i want to run for entry numbers 3100000 to 3100005 for which the source number may be anywhere. but it should run faster and not throw an error message 'Out of Virtual memory'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Feb 2015 04:05:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-21T04:05:15Z</dc:date>
    <item>
      <title>Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773749#M274512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have the following table:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;" width="258"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Entry No.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Reference No.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Document No.&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;BBB&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;CCC&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;DDD&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;EEE&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;FFF&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;7&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;GGG&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;8&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;7&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;HHH&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Entry No. is a unique Number. Entry nos 1 to 3 are staring numbers, the balance are linked numbers,. for eg. entry no 8 is linked to 7 which in turn is linked to 4, which in turn is linked to 1. Because there is no reference against 1, it is the the starting number&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i wanted the results as below:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;" width="258"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Entry No.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Reference No.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Document No.&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;8&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For entry no. 8, the links end at entry no. 1 and corresponding reference against 1 is AAA.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i got the output as required in the attachment.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now i have made a small change.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: rgb(61, 61, 61); width: 258px;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;" width="64"&gt;Entry No.&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;" width="97"&gt;Reference No.&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;" width="97"&gt;Document No.&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;BBB&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;3&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;CCC&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;DDD&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;EEE&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;FFF&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;7&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;GGG&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;8&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;7&lt;/TD&gt;&lt;TD style="border: 0px solid black; padding-right: 4px; padding-left: 4px; font-style: inherit; font-family: inherit;"&gt;HHH&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;in the above table, for entry 5 and 6, the reference number is the same. &lt;/P&gt;&lt;P&gt;Now can anyone help me with this revised table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 03:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773749#M274512</guid>
      <dc:creator />
      <dc:date>2015-02-10T03:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773750#M274513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the script/expr which you tried ( I am using Personal edition )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 03:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773750#M274513</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-10T03:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773751#M274514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; eNTRY, Ref, Doc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, , A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, , B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, , C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 1, D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 2, E&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 3, F&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7, 4, G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, 7, H&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TREE:&lt;/P&gt;&lt;P&gt;HierarchyBelongsTo(eNTRY, Ref, Doc, 'ancestorid', 'ancestor', 'layer')&lt;/P&gt;&lt;P&gt;load Ref, &lt;/P&gt;&lt;P&gt;eNTRY, &lt;/P&gt;&lt;P&gt;Doc&lt;/P&gt;&lt;P&gt; resident Test ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TREE_new:&lt;/P&gt;&lt;P&gt;load distinct &lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;Num( layer+1) as NewLayer&lt;/P&gt;&lt;P&gt;resident&lt;/P&gt;&lt;P&gt;TREE ;&lt;/P&gt;&lt;P&gt;drop table TREE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight table - &amp;gt; Dimensions - eNTRY&lt;/P&gt;&lt;P&gt;Expressions 1-&amp;gt;ref - (=aggr(Min(ancestorid),eNTRY))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2-&amp;gt; Doc = FirstSortedValue(ancestor,ancestorid)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 03:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773751#M274514</guid>
      <dc:creator />
      <dc:date>2015-02-10T03:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773752#M274515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With Ref as 2 for Entry No 6, are you not getting doc as B? Or are you expecting different output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 04:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773752#M274515</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-10T04:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773753#M274516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want output as follows:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: rgb(61, 61, 61); width: 258px;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Entry No.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Reference No.&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="97"&gt;Document No.&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;5&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;BBB&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="right" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;6&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;"&gt;BBB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 04:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773753#M274516</guid>
      <dc:creator />
      <dc:date>2015-02-10T04:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773754#M274517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting BBB as Doc with your script and expr. Check the attached app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 04:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773754#M274517</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-10T04:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773755#M274518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit the inline table as&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; eNTRY, Ref, Doc&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, , A&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, , B&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, , C&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 1, D&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 2, E&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 3, F&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7, 4, G&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, 7, H&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Reload your qvw. (Ctrl+R).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 06:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773755#M274518</guid>
      <dc:creator />
      <dc:date>2015-02-10T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773756#M274519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshmi George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you it is very useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 09:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773756#M274519</guid>
      <dc:creator>khalander</dc:creator>
      <dc:date>2015-02-13T09:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hierarchical loop (if then)</title>
      <link>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773757#M274520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Joshmi George,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have one more requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i have given is a very small sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this on my actual database which runs to more than 35 lakh records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, when the loop runs, the number of virtual records created is several crores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to run this loop only for selected records. assuming i want to run for entry numbers 3100000 to 3100005 for which the source number may be anywhere. but it should run faster and not throw an error message 'Out of Virtual memory'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 04:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hierarchical-loop-if-then/m-p/773757#M274520</guid>
      <dc:creator />
      <dc:date>2015-02-21T04:05:15Z</dc:date>
    </item>
  </channel>
</rss>

