<?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: Previous Year Sale in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688707#M249421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its working fine.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Can u share me the expression for MTD &amp;amp; YTD Calculation also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 10:03:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-02T10:03:51Z</dc:date>
    <item>
      <title>Previous Year Sale in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688704#M249418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to find the previous year sale for a particular day&lt;/P&gt;&lt;P&gt;For eg: If i am selecting 24-04-2014&lt;/P&gt;&lt;P&gt;I want to see the sales for 24-04-2013&lt;/P&gt;&lt;P&gt;I dont want to use master calendar&lt;/P&gt;&lt;P&gt;I want to do this in set analysis&lt;/P&gt;&lt;P&gt;Currently I tried this Formula&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;DATE ={&amp;lt;MakeDate((Year(DATE)-1),Month(DATE),Day(DATE))&amp;gt;}&amp;gt;}NET_AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is an error in this formula.&lt;/P&gt;&lt;P&gt;I am not good in set analysis.&lt;/P&gt;&lt;P&gt;Can anyone tell me whats wrong in this or how to achieve this simple in set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 09:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688704#M249418</guid>
      <dc:creator />
      <dc:date>2014-09-02T09:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Year Sale in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688705#M249419</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;Try like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATE={"$(=Date(Addmonths(DATE,-12)))"}&amp;gt;}NET_AMOUNT)&lt;/P&gt;&lt;P&gt; Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATE={"$(=Date(AddYears(DATE,-1)))"}&amp;gt;}NET_AMOUNT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 09:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688705#M249419</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-02T09:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Year Sale in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688706#M249420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({&amp;lt;TransactionDate = {'$(=MakeDate(Year(Today())-1,Month(Today()),Day(Today())))'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace Today() with Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 09:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688706#M249420</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T09:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Year Sale in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688707#M249421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its working fine.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;P&gt;Can u share me the expression for MTD &amp;amp; YTD Calculation also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 10:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688707#M249421</guid>
      <dc:creator />
      <dc:date>2014-09-02T10:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Year Sale in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688708#M249422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YTD&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;Date= {'&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=Today())'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt;Date= {'&amp;gt;=$(=MonthStart(Today()))&amp;lt;=$(=Today())'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change Date and Amount with your respective Fields....&lt;/P&gt;&lt;P&gt;Change Today() with your Date in case if you want to give Date selection to users...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 10:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Year-Sale-in-set-analysis/m-p/688708#M249422</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-02T10:08:08Z</dc:date>
    </item>
  </channel>
</rss>

