<?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: get values for the last year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999303#M963850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a chart &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 15:42:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-16T15:42:00Z</dc:date>
    <item>
      <title>get values for the last year</title>
      <link>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999301#M963847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variables in format YYYYMMDD &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Date ={"&amp;gt;=$(vFromDate) &amp;lt;=$(=if((right($(vToDate),2) ='31' and right(left($(vToDate),6),2) ='12' ),left(AddYears(vToDate,1),4)&amp;amp;'01'&amp;amp;'01',if(right($(vToDate),2) ='31', left(vToDate,4)&amp;amp;right(left(AddMonths(vToDate,1),7),2)&amp;amp;'01', left($(vToDate),6)&amp;amp;(right($(vToDate),2) ))))"}&amp;gt;}[Prix de vente TTC])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get values for the same period but for the last year for the same expression ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999301#M963847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: get values for the last year</title>
      <link>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999302#M963849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using this in a chart with Date as a dimension or is this a text box expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999302#M963849</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-16T15:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: get values for the last year</title>
      <link>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999303#M963850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a chart &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999303#M963850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: get values for the last year</title>
      <link>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999304#M963851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If date is your dimension then you will need to use the above() or below() function based on your sorting to get this to work. To find the exact expression, it would be more useful if you can provide a sample to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-values-for-the-last-year/m-p/999304#M963851</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-16T15:44:29Z</dc:date>
    </item>
  </channel>
</rss>

