<?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 Formula in Loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formula-in-Loading/m-p/156094#M32093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;During load you can use order by Num Ascending. Then Create another field using the following function:&lt;/P&gt;&lt;P&gt;Previous(Num) as Num2.&lt;/P&gt;&lt;P&gt;If there are repeating values for Num, then use&lt;/P&gt;&lt;P&gt;if(Num=previous(Num),Num2,previous(Num)) as Num2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Oct 2010 16:13:41 GMT</pubDate>
    <dc:creator>syed_muzammil</dc:creator>
    <dc:date>2010-10-23T16:13:41Z</dc:date>
    <item>
      <title>Formula in Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-in-Loading/m-p/156093#M32092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have a QVD file with the following data:&lt;/P&gt;&lt;P&gt;Num:&lt;/P&gt;&lt;P&gt;13890101&lt;/P&gt;&lt;P&gt;13890201&lt;/P&gt;&lt;P&gt;13890231&lt;/P&gt;&lt;P&gt;13881229&lt;/P&gt;&lt;P&gt;How can I have Num and the greatest Num which is smaller than current num in load Time?&lt;/P&gt;&lt;P&gt;Output is like this:&lt;/P&gt;&lt;P&gt;Num,Num2&lt;/P&gt;&lt;P&gt;13890101, 13881229&lt;/P&gt;&lt;P&gt;13890201,13890101&lt;/P&gt;&lt;P&gt;13890231,13890201&lt;/P&gt;&lt;P&gt;13881229,13881229&lt;/P&gt;&lt;P&gt;Thats really kind of you if you help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Oct 2010 16:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-in-Loading/m-p/156093#M32092</guid>
      <dc:creator />
      <dc:date>2010-10-23T16:04:17Z</dc:date>
    </item>
    <item>
      <title>Formula in Loading</title>
      <link>https://community.qlik.com/t5/QlikView/Formula-in-Loading/m-p/156094#M32093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;During load you can use order by Num Ascending. Then Create another field using the following function:&lt;/P&gt;&lt;P&gt;Previous(Num) as Num2.&lt;/P&gt;&lt;P&gt;If there are repeating values for Num, then use&lt;/P&gt;&lt;P&gt;if(Num=previous(Num),Num2,previous(Num)) as Num2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Oct 2010 16:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formula-in-Loading/m-p/156094#M32093</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-10-23T16:13:41Z</dc:date>
    </item>
  </channel>
</rss>

