<?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 Query about financial year! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161469#M35337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;This is the expression i used to calculate the increase in current year sales when compared to the previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Sum({$&amp;lt;Year={$(=Max(Year))}&amp;gt;} SalValue) / Sum({$&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;} SalValue)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But now i want to calculate the increase in current financial year sales when compared to the previous year. Let me know what changes has to done in the above expression to get the needed result.&lt;/P&gt;&lt;P&gt;By the way i use the following query in the list box to get the financial year. Let me know whether it can be added to the above one or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=yearname(Date,0,4)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2010 12:46:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-26T12:46:00Z</dc:date>
    <item>
      <title>Query about financial year!</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161469#M35337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;This is the expression i used to calculate the increase in current year sales when compared to the previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;Sum({$&amp;lt;Year={$(=Max(Year))}&amp;gt;} SalValue) / Sum({$&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;} SalValue)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But now i want to calculate the increase in current financial year sales when compared to the previous year. Let me know what changes has to done in the above expression to get the needed result.&lt;/P&gt;&lt;P&gt;By the way i use the following query in the list box to get the financial year. Let me know whether it can be added to the above one or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=yearname(Date,0,4)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161469#M35337</guid>
      <dc:creator />
      <dc:date>2010-02-26T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Query about financial year!</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161470#M35338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Sum({$&amp;lt;Date={"&amp;gt;=$(=date(max(yearstart (Date,0,4))))&amp;lt;=$(=date(max(yearend (Date,0,4))))"}&amp;gt;} SalValue)&lt;BR /&gt;/&lt;BR /&gt;Sum({$&amp;lt;Date={"&amp;gt;=$(=date(addmonths(max(yearstart (Date,0,4)),-12))))&amp;lt;=$(=date(addmonths(max(yearend (Date,0,4)),-12)))"}&amp;gt;} SalValue)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 15:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161470#M35338</guid>
      <dc:creator />
      <dc:date>2010-02-26T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Query about financial year!</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161471#M35339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onder!&lt;/P&gt;&lt;P&gt;Thanks for effort but it doesn't work.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2010 05:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161471#M35339</guid>
      <dc:creator />
      <dc:date>2010-02-27T05:26:55Z</dc:date>
    </item>
    <item>
      <title>Query about financial year!</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161472#M35340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please check the sample ? Its working.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2010 14:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161472#M35340</guid>
      <dc:creator />
      <dc:date>2010-02-27T14:13:16Z</dc:date>
    </item>
    <item>
      <title>Query about financial year!</title>
      <link>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161473#M35341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onder!&lt;/P&gt;&lt;P&gt;I have checked it in yours it is working in yours but it is not working in mine. I guess the problem may be because of the date value. All my date values start with the starting day of the month and there is no month end date. Is that creating the problem? Please check and let me know. In your also you keep only the starting date of the month then check your set analysis.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/5417.untitled.JPG"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/5417.untitled.JPG" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am also working around. Will check and let you if i get any solution.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Mar 2010 08:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-about-financial-year/m-p/161473#M35341</guid>
      <dc:creator />
      <dc:date>2010-03-01T08:00:44Z</dc:date>
    </item>
  </channel>
</rss>

