<?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: Adding Current year with previous year max month? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707387#M674992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can keep the value in a variable like below. and then use the variable in the expression with the rest of the current year values. &lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"$(=Max(Year)-1)"},Months={Mar} &amp;gt;} Price)&lt;/P&gt;&lt;P&gt;// I hard coded the month value as Mar was the highest as per your business logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 11:32:09 GMT</pubDate>
    <dc:creator>sudeepkm</dc:creator>
    <dc:date>2014-08-04T11:32:09Z</dc:date>
    <item>
      <title>Adding Current year with previous year max month?</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707385#M674990</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add current year 12 month with previous year max month(means 12 th month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i selected financial year 2015(Apr-Mar)&lt;/P&gt;&lt;P&gt;i want to add ---&lt;STRONG&gt;Mar-2014+currnt year all months(from Apr to Mar)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to pick the previous year value when i selected current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent plz help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707385#M674990</guid>
      <dc:creator />
      <dc:date>2014-08-04T11:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Current year with previous year max month?</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707386#M674991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are having a year field, you could try like:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year+={"$(Max(Year)-1)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707386#M674991</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-04T11:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Current year with previous year max month?</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707387#M674992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can keep the value in a variable like below. and then use the variable in the expression with the rest of the current year values. &lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"$(=Max(Year)-1)"},Months={Mar} &amp;gt;} Price)&lt;/P&gt;&lt;P&gt;// I hard coded the month value as Mar was the highest as per your business logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Current-year-with-previous-year-max-month/m-p/707387#M674992</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-08-04T11:32:09Z</dc:date>
    </item>
  </channel>
</rss>

