<?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: Get values for the last n months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467968#M174760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the explanation &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;although I still have a problem, if I select 3months no volume, the table should also display the month selected [select all customers in the selected month with no volume], then the &lt;STRONG&gt;previous &lt;/STRONG&gt;month should also no volume, and so on. base on the expression you have created, ex: May[selected], even though April has a volume, it will still display. It should only display the list of customers with no volume depending on the selected no. of months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'3 months without volume' means that for 3 consecutive months, the customer doesn't have any volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 02:10:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-29T02:10:46Z</dc:date>
    <item>
      <title>Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467962#M174754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently having problems regarding this situation, I need to get the customers with no quantity based on the &lt;/P&gt;&lt;P&gt;month the user selected and the condition specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will attach my qvd file for you to analyze the problem more clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Donna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s Volume = Qty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 21:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467962#M174754</guid>
      <dc:creator />
      <dc:date>2012-11-26T21:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467963#M174755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467963#M174755</guid>
      <dc:creator />
      <dc:date>2012-11-27T13:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467964#M174756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;b&lt;/STRONG&gt;ringing &lt;STRONG&gt;u&lt;/STRONG&gt;p &lt;STRONG&gt;m&lt;/STRONG&gt;y &lt;STRONG&gt;p&lt;/STRONG&gt;ost again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 00:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467964#M174756</guid>
      <dc:creator />
      <dc:date>2012-11-28T00:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467965#M174757</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;PFA document.&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>Wed, 28 Nov 2012 06:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467965#M174757</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-11-28T06:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467966#M174758</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;Thank you for the reply and your solution. Can you give me a brief explanation for the solution you have given? &lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 07:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467966#M174758</guid>
      <dc:creator />
      <dc:date>2012-11-28T07:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467967#M174759</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;The expression&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Year=, Month=, Date={'&amp;gt;=$(=MonthStart(Max(Date), (Max(no_vol)-1)*-1))&amp;lt;=$(Max(Date))'}&amp;gt;}Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year=&amp;nbsp; Excludes Year Selection&lt;/P&gt;&lt;P&gt;Month= Excludes Month Selection&lt;/P&gt;&lt;P&gt;Date={'&amp;gt;=$(=MonthStart(Max(Date), (Max(no_vol)-1)*-1))&amp;lt;=$(Max(Date))'} (Filters the date between start and end date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MonthStart(Max(Date), (Max(no_vol)-1)*-1) - Gets Max date and max no_vol (number of months) selected and subtract no_vol months from Max date. &lt;/P&gt;&lt;P&gt;MonthStart() will give you the starting date of the month for a given date&lt;/P&gt;&lt;P&gt;(Max(no_vol)-1)*-1 = If you select 12 months then 1 should be subtracted to get 12 months back date&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 08:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467967#M174759</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-11-28T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get values for the last n months</title>
      <link>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467968#M174760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the explanation &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;although I still have a problem, if I select 3months no volume, the table should also display the month selected [select all customers in the selected month with no volume], then the &lt;STRONG&gt;previous &lt;/STRONG&gt;month should also no volume, and so on. base on the expression you have created, ex: May[selected], even though April has a volume, it will still display. It should only display the list of customers with no volume depending on the selected no. of months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'3 months without volume' means that for 3 consecutive months, the customer doesn't have any volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 02:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-values-for-the-last-n-months/m-p/467968#M174760</guid>
      <dc:creator />
      <dc:date>2012-11-29T02:10:46Z</dc:date>
    </item>
  </channel>
</rss>

