<?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: compare sales current vs previous in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523126#M689496</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;Atual state =&amp;gt; Sum(Sales)&lt;/P&gt;&lt;P&gt;Previous state =&amp;gt; Sum({&amp;lt;Year={'$(=(Year - 1))'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 19:46:35 GMT</pubDate>
    <dc:creator>MarcoARaymundo</dc:creator>
    <dc:date>2013-10-24T19:46:35Z</dc:date>
    <item>
      <title>compare sales current vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523125#M689495</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 have a database that has the sales of the stores by hour every day for the years 2012 and 2013.&lt;/P&gt;&lt;P&gt;How can i have in a chart a current sale date or a period with the previous sale date in the same weekday with set analysis.&lt;/P&gt;&lt;P&gt;For example i have the sales of the date 23/10/2013 which is wednesday how can i bring in a chart the sales of 24/10/2012&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;which is also wednesday. Also how can i compare the month and the week and the year to date in a chart by selection.&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>Thu, 24 Oct 2013 19:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523125#M689495</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2013-10-24T19:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: compare sales current vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523126#M689496</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;Atual state =&amp;gt; Sum(Sales)&lt;/P&gt;&lt;P&gt;Previous state =&amp;gt; Sum({&amp;lt;Year={'$(=(Year - 1))'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 19:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523126#M689496</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2013-10-24T19:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: compare sales current vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523127#M689497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco i want by selecting the 23/10/2013 automatically to bring me the 24/10/2012 and the sales of that day in a chart.&lt;/P&gt;&lt;P&gt;I don't know if i can convert the date to 20131023 and 201201024 and subtract 345 days and compare the weekdays.&lt;/P&gt;&lt;P&gt;But what can i do when the selection is the month or the week.&lt;/P&gt;&lt;P&gt;Is any set analysis that automatically give me the result of the previous sales by selecting only the current date or the month or the month and the week ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 20:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523127#M689497</guid>
      <dc:creator>geogou1973</dc:creator>
      <dc:date>2013-10-24T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: compare sales current vs previous</title>
      <link>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523128#M689498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the AddYears(DATE, -1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Previous state =&amp;gt; Sum({&amp;lt;DATE={'$(=AddYears(DATE, - 1))'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If you attach a sample file, I can better understand what you need.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 10:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-sales-current-vs-previous/m-p/523128#M689498</guid>
      <dc:creator>MarcoARaymundo</dc:creator>
      <dc:date>2013-10-25T10:34:02Z</dc:date>
    </item>
  </channel>
</rss>

