<?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: Replicating the attached excel formula in QV. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838535#M1007112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In script, use Peek and/or Previous to fetch the row above, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Sold-to-Party code] = '', '', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Sold-to-Party code] = Previous([Sold-to-Party code]), Peek(ATMPG) + 1, 1)) &lt;/P&gt;&lt;P&gt;As ATMPG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 05:52:42 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-05-12T05:52:42Z</dc:date>
    <item>
      <title>Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838530#M1007107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in replicating the attached excel formula in Column G in QV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86212_QV.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838530#M1007107</guid>
      <dc:creator />
      <dc:date>2015-05-12T05:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838531#M1007108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample excel file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838531#M1007108</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-05-12T05:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838532#M1007109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try =RowNo()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838532#M1007109</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-12T05:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838533#M1007110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&lt;BR /&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86227_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:47:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838533#M1007110</guid>
      <dc:creator>danieloberbilli</dc:creator>
      <dc:date>2015-05-12T05:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838534#M1007111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a sample excel file...and is this formula is fixed for&amp;nbsp; G9&amp;nbsp; only or whole column G ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838534#M1007111</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-05-12T05:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838535#M1007112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In script, use Peek and/or Previous to fetch the row above, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Sold-to-Party code] = '', '', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([Sold-to-Party code] = Previous([Sold-to-Party code]), Peek(ATMPG) + 1, 1)) &lt;/P&gt;&lt;P&gt;As ATMPG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838535#M1007112</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-05-12T05:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Replicating the attached excel formula in QV.</title>
      <link>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838536#M1007113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's assuming the fields are part of the same table. If they are then&lt;EM&gt; if(len(trim([Sold-to-Party code])),autonumber(ATMPG,[Sold-to-Party code]),'')&lt;/EM&gt; would do the trick as well I reckon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 05:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replicating-the-attached-excel-formula-in-QV/m-p/838536#M1007113</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-12T05:55:47Z</dc:date>
    </item>
  </channel>
</rss>

