<?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: Problems displaying Previous Month from User's Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287184#M106849</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;&amp;nbsp;&amp;nbsp; Have a look at the attched sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2011 06:15:47 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2011-11-01T06:15:47Z</dc:date>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287179#M106844</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 write an expression in the pivot table which will show the total amount of the previous month from a user's selection.&amp;nbsp; ie user chooses June, I want it to show May.&amp;nbsp; It must also filter on Type as Actual.&amp;nbsp; I have tried NUMEROUS expressions - you will see in the definition window as I have left them all in there just commented out.&amp;nbsp; I have also tried as a Previous Month as a variable.&amp;nbsp; I read a few articles as well about "as of" tables but couldn't see how to do this for what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the file for you and any and all help is much appreciated as I've spent a couple of days on this now and I know this should be fairly simple!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI - I think there might be something special about my Month field as on another formula I used I had to define Month format "MMM YY" in the expression.&amp;nbsp; I think this is probably what's bringing me undone today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS - I have since created a new field for Previous Month which is correct however I cannot work out how to override the user's Month selection and replace / filter with Prev Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HELP PLEASE!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 03:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287179#M106844</guid>
      <dc:creator />
      <dc:date>2011-11-01T03:26:28Z</dc:date>
    </item>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287180#M106845</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this expression for your actual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM({$ &amp;lt; Month = {'$(=addmonths(max(Month),-1))'},Type = {"Actual"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This will give you the data for the last month, say for example if user selects Dec 11 then data shown will be of Nov 11. &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If no month is selected it will show data for the month prior to maximum month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 05:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287180#M106845</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-11-01T05:43:29Z</dc:date>
    </item>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287181#M106846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; This did not work - it returned $0s.&amp;nbsp; Any other suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 05:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287181#M106846</guid>
      <dc:creator />
      <dc:date>2011-11-01T05:52:40Z</dc:date>
    </item>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287182#M106847</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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes i know that, its because you dont have data for the month of nov 11 and for the actual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select some different month and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 05:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287182#M106847</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-11-01T05:57:25Z</dc:date>
    </item>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287183#M106848</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;No - doesn't work for any month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 06:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287183#M106848</guid>
      <dc:creator />
      <dc:date>2011-11-01T06:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287184#M106849</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;&amp;nbsp;&amp;nbsp; Have a look at the attched sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 06:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287184#M106849</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-11-01T06:15:47Z</dc:date>
    </item>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287185#M106850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BRILLIANT!!!!!&amp;nbsp; So it was a problem with my document settings.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 06:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287185#M106850</guid>
      <dc:creator />
      <dc:date>2011-11-01T06:42:49Z</dc:date>
    </item>
    <item>
      <title>Problems displaying Previous Month from User's Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287186#M106851</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;&amp;nbsp;&amp;nbsp; Glad that my suggestion worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 06:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-displaying-Previous-Month-from-User-s-Selection/m-p/287186#M106851</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-11-01T06:45:08Z</dc:date>
    </item>
  </channel>
</rss>

