<?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 Previous Month Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304049#M1183137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind, I was able to figure it out, had misplaced my 1, which needs to go at the beginning of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2011 16:39:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-15T16:39:24Z</dc:date>
    <item>
      <title>Previous Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304046#M1183134</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;I'm trying to query sales from 8 months ago. Using the following query, I'm able to sum the current month's sales using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar Month Name] = {'$(=month(now(0)))'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I cannot use the above query to sum sales for a previous month. For instance if I try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar Month Name] = {'$(=month(now(0)-8))'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar Month Name] = {'$(=month(now(0))-8)'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both return nothing. Does anyone have an idea what I'm missing? I've searched the forum and have yet to find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 14:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304046#M1183134</guid>
      <dc:creator />
      <dc:date>2011-12-15T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Previous Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304047#M1183135</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 this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Calendar Month Name] = {'$(=month(AddMonths(now(0), -8)))'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 15:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304047#M1183135</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-12-15T15:23:51Z</dc:date>
    </item>
    <item>
      <title>Previous Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304048#M1183136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works perfectly! One issue though. I'm using this with other selections that are overriding the expression. How would I change the following set to ignore current selections and pull the data I'm looking for 8 months ago:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen shot 2011-12-15 at 5.08.08 PM.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/9585_Screen+shot+2011-12-15+at+5.08.08+PM.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I've tried using a 1 intstead of a $ sign expansion, but was unsuccessful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 16:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304048#M1183136</guid>
      <dc:creator />
      <dc:date>2011-12-15T16:10:19Z</dc:date>
    </item>
    <item>
      <title>Previous Month Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304049#M1183137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind, I was able to figure it out, had misplaced my 1, which needs to go at the beginning of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 16:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-Sales/m-p/304049#M1183137</guid>
      <dc:creator />
      <dc:date>2011-12-15T16:39:24Z</dc:date>
    </item>
  </channel>
</rss>

