<?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 loop through the current table to generate a new column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434702#M802212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;I have a table in the below structure and I want to generate one more column from the below that satisfying the below condition&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;The name of the column is called Dividend_paid since 01/01/2016.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;The rule is to search For the same ASX code and add up last column(Dividend_Paid) if the date is between 01/01/2016 and the corresponding value in Date column. I think something loop will do the job, but not exactly how. thanks&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;&lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;&lt;IMG alt="Captureff.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184114_Captureff.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>ronaldwang</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>loop through the current table to generate a new column</title>
      <link>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434702#M802212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;I have a table in the below structure and I want to generate one more column from the below that satisfying the below condition&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;The name of the column is called Dividend_paid since 01/01/2016.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;The rule is to search For the same ASX code and add up last column(Dividend_Paid) if the date is between 01/01/2016 and the corresponding value in Date column. I think something loop will do the job, but not exactly how. thanks&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;&lt;SPAN style="color: #323e4f; font-family: 'Verdana','sans-serif'; font-size: 10pt; mso-themecolor: text2; mso-themeshade: 191;"&gt;&lt;IMG alt="Captureff.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/184114_Captureff.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434702#M802212</guid>
      <dc:creator>ronaldwang</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: loop through the current table to generate a new column</title>
      <link>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434703#M802213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder, why loop helps here. Some where try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([ASX code] = Previous([ASX code]) and (Date &amp;gt;= MakeDate(2016,01,01) and Date &amp;lt;= Previous(Date)),'Flag1', 'Flag2') as Dividend_Paid&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 04:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434703#M802213</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-22T04:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: loop through the current table to generate a new column</title>
      <link>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434704#M802214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([ASX Code] = Previous([ASX Code]) And Date &amp;gt;= MakeDate(2016,1,1) And Date &amp;lt;= Previous(Date),&lt;SPAN style="color: #323e4f; font-family: Verdana;"&gt;Dividend_Paid&lt;/SPAN&gt; + Previous(&lt;SPAN style="color: #323e4f; font-family: Verdana;"&gt;Dividend_Paid&lt;/SPAN&gt;) As &lt;SPAN style="color: #323e4f; font-family: Verdana;"&gt;Dividend_Paid&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From &amp;lt;TableName&amp;gt;&lt;/P&gt;&lt;P&gt;Order by [ASX Code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 04:17:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loop-through-the-current-table-to-generate-a-new-column/m-p/1434704#M802214</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-22T04:17:07Z</dc:date>
    </item>
  </channel>
</rss>

