<?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: Previous three months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031492#M931304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I need to see the month year but not included as used dimension:&lt;IMG alt="QV_expresion2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117401_QV_expresion2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2016 20:56:30 GMT</pubDate>
    <dc:creator>mossandon</dc:creator>
    <dc:date>2016-03-08T20:56:30Z</dc:date>
    <item>
      <title>Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031483#M931286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;I need to show sales for the three previous months to the selected month,&lt;/P&gt;&lt;P&gt;In the example show a month earlier, but do not know how to show the other two previous months.&lt;/P&gt;&lt;P&gt;I appreciate your help.&lt;/P&gt;&lt;P&gt;Thx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031483#M931286</guid>
      <dc:creator>mossandon</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031484#M931287</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;Sum({&amp;lt;Date = {"&amp;gt;=$(=monthstart(addmonths(Max(Date),-1)))=$(=Monthend(addmonths(Max(Date),-1)))"},Year=,Month=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For previous month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"&amp;gt;=$(=monthstart(addmonths(Max(Date),-2)))&amp;lt;=$(=Monthend(addmonths(Max(Date),-2)))"},Year=,Month=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Previous to Previous Month and so on.&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, 08 Mar 2016 18:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031484#M931287</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-03-08T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031485#M931288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Converted your table into a pivot table&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117385_Capture.PNG" style="height: 76px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 18:56:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031485#M931288</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-08T18:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031486#M931292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Sunny T,&lt;/P&gt;&lt;P&gt;It works ok,&lt;STRONG&gt; but I need to use other dimensions&lt;/STRONG&gt; than the month...I forget to add &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="font-size: 13.3333px;"&gt;incorporated &lt;/SPAN&gt;new dimension called &lt;SPAN style="font-size: 13.3333px;"&gt;"Region" &lt;/SPAN&gt;in the attached example.&lt;/P&gt;&lt;P&gt;you could help me with that dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 19:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031486#M931292</guid>
      <dc:creator>mossandon</dc:creator>
      <dc:date>2016-03-08T19:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031487#M931297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the kind of table you envision?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117398_Capture.PNG" style="height: 110px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031487#M931297</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-08T20:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031488#M931300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but the dimension must only be "Region" no "MonthYear".&lt;/P&gt;&lt;P&gt;It is possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031488#M931300</guid>
      <dc:creator>mossandon</dc:creator>
      <dc:date>2016-03-08T20:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031489#M931301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thx Kaushik,&lt;/P&gt;&lt;P&gt;But I get an erroneous result by applying the expression, and is independent of the selection.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV_expresion1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117399_QV_expresion1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031489#M931301</guid>
      <dc:creator>mossandon</dc:creator>
      <dc:date>2016-03-08T20:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031490#M931302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't want to see MonthYear? Like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117400_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031490#M931302</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-08T20:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031491#M931303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also potentitally use the max(fieldname, rank) function in your set analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, max(Month, 2) would give you the "prior" month if the current month is the max month. &lt;SPAN style="font-size: 13.3333px;"&gt;max(Month, 3) and &lt;SPAN style="font-size: 13.3333px;"&gt;max(Month, 4) would be the 2 and 3 months back from current. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031491#M931303</guid>
      <dc:creator>erjohnso</dc:creator>
      <dc:date>2016-03-08T20:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031492#M931304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I need to see the month year but not included as used dimension:&lt;IMG alt="QV_expresion2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117401_QV_expresion2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031492#M931304</guid>
      <dc:creator>mossandon</dc:creator>
      <dc:date>2016-03-08T20:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031493#M931305</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;What output you are looking for and what you are getting.&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>Wed, 09 Mar 2016 07:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031493#M931305</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-03-09T07:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031494#M931306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;In that case you need to create four expressions one for each month.&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, 09 Mar 2016 07:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031494#M931306</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-09T07:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031495#M931307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go. Back to straight table with 4 expressions and 1 dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/117474_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;sum({$&amp;lt;Year, Month, Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date))) &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date))))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;sum({$&amp;lt;Year, Month, Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date), -1)) &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date), -1)))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;sum({$&amp;lt;Year, Month, Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date), -2)) &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date), -2)))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4) &lt;STRONG&gt;sum({$&amp;lt;Year, Month, Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date), -3)) &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date), -3)))"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 09:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031495#M931307</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-09T09:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Previous three months</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031496#M931308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Sunny T.&lt;/P&gt;&lt;P&gt;Your help will allow me to continue learning about this powerful tool. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;And thanks to all who helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 11:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-three-months/m-p/1031496#M931308</guid>
      <dc:creator>mossandon</dc:creator>
      <dc:date>2016-03-09T11:35:20Z</dc:date>
    </item>
  </channel>
</rss>

