<?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 Set analysis -  about getting the value from previous period(date) range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-about-getting-the-value-from-previous-period-date/m-p/487710#M182192</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;Hello everyone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;We need to use the Date of previous period to estimate the amount, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;in order to predict the amount may occur.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="50470" alt="i1.png" class="jive-image" height="308" src="https://community.qlik.com/legacyfs/online/50470_i1.png" width="692" /&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;The relational of “Date” and “Date – previous period” has done,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;please see the qvw application below to figure out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Expression of “amount – previous period” : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="50483" alt="i2.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50483_i2.PNG.png" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;But we cannot show the correct amount. It’s there anything wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;For details, you can see the file and row data below to figure out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help most gratefully received &amp;amp; thank you in anticipation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2013 08:26:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-16T08:26:49Z</dc:date>
    <item>
      <title>Set analysis -  about getting the value from previous period(date) range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-about-getting-the-value-from-previous-period-date/m-p/487710#M182192</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;Hello everyone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;We need to use the Date of previous period to estimate the amount, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;in order to predict the amount may occur.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="50470" alt="i1.png" class="jive-image" height="308" src="https://community.qlik.com/legacyfs/online/50470_i1.png" width="692" /&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;The relational of “Date” and “Date – previous period” has done,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;please see the qvw application below to figure out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Expression of “amount – previous period” : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="50483" alt="i2.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50483_i2.PNG.png" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;But we cannot show the correct amount. It’s there anything wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;For details, you can see the file and row data below to figure out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help most gratefully received &amp;amp; thank you in anticipation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 08:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-about-getting-the-value-from-previous-period-date/m-p/487710#M182192</guid>
      <dc:creator />
      <dc:date>2013-12-16T08:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis -  about getting the value from previous period(date) range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-about-getting-the-value-from-previous-period-date/m-p/487711#M182193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, I can't help there - would be very interesting to know how this works.&lt;/P&gt;&lt;P&gt;AfaIk, Set_analysis will not work here as that is only calculated once before the&amp;nbsp; chart is displayed.&lt;/P&gt;&lt;P&gt;You cannot make it dynamic so that your expressions will, for a given period (dimension), use the value of the period before.&lt;/P&gt;&lt;P&gt;You might try with the aggr() function. That helped me a bit further, though I never quite made it - or rather, I had to abandon it for it was taking me too much time. - Or, if it's not too much data you have to display, try using the PREVIOUS fct. (after a SORT) in the script so you have a native field for the "period_before"&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 08:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-about-getting-the-value-from-previous-period-date/m-p/487711#M182193</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-16T08:45:15Z</dc:date>
    </item>
  </channel>
</rss>

