<?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 How to calculate previous year data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049260#M931403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(DIVISION='PUMA',sum({&amp;lt;FYEAR=&amp;gt;})Value,&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Year=&amp;gt;})Value&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I select Year=2015 then its coming correct, how to get previous year data ie; 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>abc_18</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to calculate previous year data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049260#M931403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(DIVISION='PUMA',sum({&amp;lt;FYEAR=&amp;gt;})Value,&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Year=&amp;gt;})Value&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I select Year=2015 then its coming correct, how to get previous year data ie; 2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049260#M931403</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous year data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049261#M931404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Maybe like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(DIVISION='PUMA',sum({&amp;lt;FYEAR={$(=only(FYEAR)-1)}&amp;gt;})Value,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Year=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{$(=only(Year)-1)}&amp;gt;}&lt;/SPAN&gt;&amp;gt;})Value&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If not, please post a small qlikview document that demonstrates the problem.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049261#M931404</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-10T14:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous year data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049262#M931405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using this in a chart where you have Year or Date as dimension? If yes, then you might need to use Above()/Below() functions to get this to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049262#M931405</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-10T14:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous year data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049263#M931406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I am using this in a chart (Straight Table), and Date is a dimension.&lt;/P&gt;&lt;P&gt;Date I have linked with master calendar .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049263#M931406</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2016-03-10T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous year data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049264#M931407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to use Above()/Below() function to get it to work. Do you have a sample that you can share?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 16:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049264#M931407</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-10T16:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate previous year data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049265#M931408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Master calendar I have two year field one for fiscal year and other for calendar year.(Fyear(Oct-Sep),Year(Jan-Dec))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate FY'15, FY 16 Actuals value.(Two Calculated field).so for Intel division we need to use calendar year(Year) and for others &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;division need to use Mater calendar(Fyear).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Likethis:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Division='Intel',sum(value)based on Calendar year,otherwise sum(value) based on fiscal year).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please&amp;nbsp; help me out in this..sample file is attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 12:01:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-previous-year-data/m-p/1049265#M931408</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2016-03-11T12:01:03Z</dc:date>
    </item>
  </channel>
</rss>

