<?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: How to compare this year and last year's sales data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949226#M527075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt; described in the recent blog post by Henric could give you inspiration for a good alternative solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2015 19:53:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-05T19:53:35Z</dc:date>
    <item>
      <title>How to compare this year and last year's sales data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949225#M527074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt; I am trying to do an expression to compare this year vs last year's sales data. Below is the formula that I am using. It showuld say in percentage.&lt;/P&gt;&lt;P&gt;=IF(MONTH(INVOICEDATE) &amp;gt; MONTH(TODAY()), 0, (SUM(IF(YEAR(INVOICEDATE) = YEAR(TODAY()), INVOICEAMOUNT, 0))/ SUM(IF(YEAR(INVOICEDATE) = YEAR(TODAY())-1, INVOICEAMOUNT, 0))) -1).&lt;/P&gt;&lt;P&gt;But, it is showing 0 for everything. Can anyone please assist me on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 19:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949225#M527074</guid>
      <dc:creator />
      <dc:date>2015-11-05T19:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare this year and last year's sales data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949226#M527075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt; described in the recent blog post by Henric could give you inspiration for a good alternative solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 19:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949226#M527075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T19:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare this year and last year's sales data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949227#M527076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or may be this, always Henric&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3619"&gt;Year-over-Year Comparisons&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 20:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949227#M527076</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-11-05T20:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare this year and last year's sales data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949228#M527077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are doing the expression in a chart you can use set analysis:&lt;/P&gt;&lt;P&gt;sum(&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;Year={"=$(=Year(Today()))"}&amp;gt;}&lt;/SPAN&gt;)/sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;Year={"=$(=Year(Today())-1)"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVOICEAMOUNT&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 20:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-compare-this-year-and-last-year-s-sales-data/m-p/949228#M527077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-05T20:38:21Z</dc:date>
    </item>
  </channel>
</rss>

