<?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 vs previous sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501797#M187464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohammed i try to apply this formula to compare the current and the previous sales by giving the year and the month but i don't have a result for the previous.&lt;/P&gt;&lt;P&gt;I create a variable for the previous year&amp;nbsp;&amp;nbsp;&amp;nbsp; vPreviousYear=max(YEAR)-1&lt;/P&gt;&lt;P&gt;and in set analysis i write the following:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;YEAR={'$(vPreviousYear)'},MONTH=&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i do wrong.&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Nov 2013 14:37:25 GMT</pubDate>
    <dc:creator>geogou1973</dc:creator>
    <dc:date>2013-11-10T14:37:25Z</dc:date>
    <item>
      <title>Current vs previous sales</title>
      <link>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501793#M187460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for days a formula with set analysis, when i select the day of the current year to show me in a chart the current selected day sales and the previous day sales (-364 days)&lt;BR /&gt;For example if i select 23/10/2013 to shows me the sales for 23/10/2013 and the sales for 24/10/2012.&lt;/P&gt;&lt;P&gt;I can't find anything. Can someone help me with this problem?&lt;/P&gt;&lt;P&gt;I have an attach file below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 07:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501793#M187460</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2013-11-10T07:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Current vs previous sales</title>
      <link>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501794#M187461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly find the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 08:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501794#M187461</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2013-11-10T08:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Current vs previous sales</title>
      <link>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501795#M187462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;Try&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;Sum({&amp;lt; DATE = {'$(=DATE(Today()))', '$(=DATE(AddYears(Today(), -1)))'} &amp;gt;} SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 10:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501795#M187462</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-11-10T10:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Current vs previous sales</title>
      <link>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501796#M187463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;It was so simple with the variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 11:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501796#M187463</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2013-11-10T11:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Current vs previous sales</title>
      <link>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501797#M187464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Mohammed i try to apply this formula to compare the current and the previous sales by giving the year and the month but i don't have a result for the previous.&lt;/P&gt;&lt;P&gt;I create a variable for the previous year&amp;nbsp;&amp;nbsp;&amp;nbsp; vPreviousYear=max(YEAR)-1&lt;/P&gt;&lt;P&gt;and in set analysis i write the following:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;YEAR={'$(vPreviousYear)'},MONTH=&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i do wrong.&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Nov 2013 14:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-vs-previous-sales/m-p/501797#M187464</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2013-11-10T14:37:25Z</dc:date>
    </item>
  </channel>
</rss>

