<?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 For Loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332161#M122385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Well, I don´t see another way, is your code working as expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 19:26:07 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2012-04-02T19:26:07Z</dc:date>
    <item>
      <title>For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332158#M122382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;I am facing one issue, my requirement is that suppose I am having onepolicy number i.e ‘1’ which contains 3 members i.e ‘222’, ‘2345’ &amp;amp; ‘4323’and in front of each member there is some amount. But in second case i.esuppose policy number is ‘4’ which also contains 3 members but in this caseamount is available only with one member. So I have to tag policy number 1under ‘INDIVIDUAL POLICY’ where each member is containing some amount whileother policy number i.e 4 under ‘FLOATER POLICY’ because in this case 2 membersare containing 0 amount. I am sending the sample XL for your reference. Memberremains always unique.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Excel sheet and also achieved this.&lt;/P&gt;&lt;P&gt;But I need to do the same through some For Loops or While Loop, As i tried but I am not good in LOOPS..... Do any one can help me regarding this.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Let me know in case you need clarification.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332158#M122382</guid>
      <dc:creator />
      <dc:date>2012-04-02T12:56:12Z</dc:date>
    </item>
    <item>
      <title>For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332159#M122383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &amp;gt;&amp;gt; &lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Let me know in case you need clarification.&lt;BR /&gt;What´s your issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 13:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332159#M122383</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2012-04-02T13:35:54Z</dc:date>
    </item>
    <item>
      <title>For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332160#M122384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way to achieve this ??? through Loops or Aggr Funct or else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 17:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332160#M122384</guid>
      <dc:creator />
      <dc:date>2012-04-02T17:06:52Z</dc:date>
    </item>
    <item>
      <title>For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332161#M122385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Well, I don´t see another way, is your code working as expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 19:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332161#M122385</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2012-04-02T19:26:07Z</dc:date>
    </item>
    <item>
      <title>For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332162#M122386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Its working fine .... DO you have any small app with While loop or For loop .. i have no idea how to impliment that .... I think it can be done in One to four lines of code by some loops ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats what i need !!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 03:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332162#M122386</guid>
      <dc:creator />
      <dc:date>2012-04-03T03:59:29Z</dc:date>
    </item>
    <item>
      <title>For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332163#M122387</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 didn't workout fully.. may be it helps you to give a way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD Distinct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount as CAmount&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vCount= FieldValueCount('CAmount');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i=0 to $(vCount)-1&lt;/P&gt;&lt;P&gt;LET vAmount = Peek('CAmount',$(i),'Temp');&lt;/P&gt;&lt;P&gt;IF $(vAmount)=0 then&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD *,'Floater' as Flag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Amount = 0;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD *,'Individual' as Flag&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Where Amount &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 09:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332163#M122387</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-04-03T09:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: For Loop</title>
      <link>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332164#M122388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m sending you an app that reads all of sheets of a Excel File with a&lt;/P&gt;&lt;P&gt;"FOR"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(See attached file: App07 - Carga Multiplas Planilhas 2.qvw)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 16:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/For-Loop/m-p/332164#M122388</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2012-04-03T16:31:16Z</dc:date>
    </item>
  </channel>
</rss>

