<?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: Last Year Formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Year-Formula/m-p/1576341#M442566</link>
    <description>Try to define a variable for PY and use the variable in the Expresion Analysis.</description>
    <pubDate>Fri, 03 May 2019 11:39:34 GMT</pubDate>
    <dc:creator>Claudiu_Anghelescu</dc:creator>
    <dc:date>2019-05-03T11:39:34Z</dc:date>
    <item>
      <title>Last Year Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-Formula/m-p/1576324#M442564</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have this formula working well, giving me the sum of Amount for the current year - which is sum from first of january till today.&lt;/P&gt;&lt;P&gt;I would like to have the same formula but for the prior year (2018) based on the maximum invoice date number of this year (2019). i tried to set it up, the one below but is not working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone can help?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula 2018 not working:&lt;/STRONG&gt; should extract Amount from the first of january 2018 till today of 1 year ago&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Invoice_Date_Num={"&amp;gt;=$(=Num(YearStart(Max(Invoice_Date_Num), -1)))&amp;lt;=$(=Num(AddYears(Max(Invoice_Date_Num), -1)))"}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Formula 2019 working well&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Invoice_Date_Num={"&amp;gt;=$(=Num(YearStart(Max(Invoice_Date_Num))))&amp;lt;=$(=Max(Invoice_Date_Num))"}&amp;gt;}Amount)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-Formula/m-p/1576324#M442564</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2024-11-16T20:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year Formula</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-Formula/m-p/1576341#M442566</link>
      <description>Try to define a variable for PY and use the variable in the Expresion Analysis.</description>
      <pubDate>Fri, 03 May 2019 11:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-Formula/m-p/1576341#M442566</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-05-03T11:39:34Z</dc:date>
    </item>
  </channel>
</rss>

