<?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: Current year and previous year fiscal year calculation(July-June) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467028#M488319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your monthname is of format "Dec 2012", "Nov 2012" .... then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try Current selection year &lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;P&gt;Sum(&amp;lt;YEAR=, Month =, MONTH_NAME = {"$(=MonthName(max(MONTH_NAME)))"} &amp;gt;} ActualValue2) &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Previous Year&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;YEAR=, Month =,MONTH_NAME = {"$(=MonthName(AddMonths(max(MONTH_NAME), -12)))"}&amp;gt;} ActualValue2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2012 13:32:46 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2012-12-27T13:32:46Z</dc:date>
    <item>
      <title>Current year and previous year fiscal year calculation(July-June)</title>
      <link>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467026#M488317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new in Qlikview.I need your expart solution.Please help me .I am getting problem with prevoius fiscal year calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select year -2010 and Month - Feb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then current year data is 2010 july to 2011 feb(getting right data) and &lt;/P&gt;&lt;P&gt;prevoius year data is 2009 july to 2010 feb(getting data from 2009 july to 2010 june(its worng data)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My current year expression is - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum({$&amp;lt;Year1 = {$(=max(Year1))}, MonthName = {"&amp;lt;=$(=max({&amp;lt;Year1={$(=max(Year1))}&amp;gt;} MonthName))"}&amp;gt;} if(PARTICODE=500 or PARTICODE=600 or PARTICODE=610 or PARTICODE=640 or PARTICODE=645 or PARTICODE=650 or PARTICODE=655, ActualAmount2)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But previous year calculation expression is -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(sum({$&amp;lt;Year1={$(=Year(Max(Year1))-1)}, MonthName = {"&amp;lt;=$(=max({&amp;lt;Year1={$(=max(Year1))}&amp;gt;} MonthName))"}&amp;gt;}&amp;nbsp; if(PARTICODE=500 or PARTICODE=600 or PARTICODE=610 or PARTICODE=640 or PARTICODE=645 or PARTICODE=650 or PARTICODE=655, ActualAmount2)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 06:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467026#M488317</guid>
      <dc:creator />
      <dc:date>2012-12-27T06:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Current year and previous year fiscal year calculation(July-June)</title>
      <link>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467027#M488318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this for previous year&lt;/P&gt;&lt;P&gt;sum(yearname(yearname(today()-1))ActualAmount2)&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 13:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467027#M488318</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2012-12-27T13:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Current year and previous year fiscal year calculation(July-June)</title>
      <link>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467028#M488319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your monthname is of format "Dec 2012", "Nov 2012" .... then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try Current selection year &lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;P&gt;Sum(&amp;lt;YEAR=, Month =, MONTH_NAME = {"$(=MonthName(max(MONTH_NAME)))"} &amp;gt;} ActualValue2) &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Previous Year&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;YEAR=, Month =,MONTH_NAME = {"$(=MonthName(AddMonths(max(MONTH_NAME), -12)))"}&amp;gt;} ActualValue2) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 13:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467028#M488319</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2012-12-27T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Current year and previous year fiscal year calculation(July-June)</title>
      <link>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467029#M488320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi renjithpl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the prompt reply.I tried with your script but it didn't work.it shows only selected previous year month sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Dec 2012 11:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-year-and-previous-year-fiscal-year-calculation-July-June/m-p/467029#M488320</guid>
      <dc:creator />
      <dc:date>2012-12-30T11:00:00Z</dc:date>
    </item>
  </channel>
</rss>

