<?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 Referencing a previous record in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241689#M92082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I noted after posted I missed a Previous(Date) (obviously) in the script. I corrected it above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 12:06:30 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-03-08T12:06:30Z</dc:date>
    <item>
      <title>Referencing a previous record</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241686#M92079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I'm hoping that you can help me, I need to reference data from a previous record. What I have is a data source set up as:&lt;/P&gt;&lt;P&gt;Product Date Amount&lt;/P&gt;&lt;P&gt;And what I want to do, is show a data range (From and To), show for each record, the date to is the date in the row and the date from is the previous date for the same product/site/domain.&lt;/P&gt;&lt;P&gt;I've created a basic test app to show you what I mean. I hope you can help me!&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 11:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241686#M92079</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2011-03-08T11:33:00Z</dc:date>
    </item>
    <item>
      <title>Referencing a previous record</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241687#M92080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dayna,&lt;/P&gt;&lt;P&gt;If possible I'd create taht in the script, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Data:LOAD Product, Date(Date) AS DateTo, If(Product = Previous(Product), Previous(Date), 'n/a') AS DateFrom, AmountFROM FileORDER BY Product, Date; // Data source&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;EDIT: Checked "Previous(Date) as DateFrom", my fault.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 11:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241687#M92080</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-08T11:51:39Z</dc:date>
    </item>
    <item>
      <title>Referencing a previous record</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241688#M92081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Miguel,&lt;/P&gt;&lt;P&gt;Many thanks for your response, I tried it on my script and I get the below which puts the same date in both fields rather than the previous date.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;BR /&gt;Dayna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 12:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241688#M92081</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2011-03-08T12:04:39Z</dc:date>
    </item>
    <item>
      <title>Referencing a previous record</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241689#M92082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, I noted after posted I missed a Previous(Date) (obviously) in the script. I corrected it above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 12:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241689#M92082</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-08T12:06:30Z</dc:date>
    </item>
    <item>
      <title>Referencing a previous record</title>
      <link>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241690#M92083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought that was the case! Looks good! Hope it can work when my app gets more complex!&lt;/P&gt;&lt;P&gt;Many thanks Miguel!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 12:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referencing-a-previous-record/m-p/241690#M92083</guid>
      <dc:creator>Dayna</dc:creator>
      <dc:date>2011-03-08T12:12:49Z</dc:date>
    </item>
  </channel>
</rss>

