<?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 Dynamic 4 rolling quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402680#M512785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Date1 column in this format - YYYYMM.&lt;/P&gt;&lt;P&gt;Date1 = 201703 is 1st quarter&lt;/P&gt;&lt;P&gt;Date1 = 201706 is 2nd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201709 is 3rd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201712 is 4th quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date1 = 201803 is 1st quarter &lt;/P&gt;&lt;P&gt;Date1 = 201806 is 2nd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201809 is 3rd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201812 is 4th quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a rolling 4 quarter so that in a pivot table, the 4 quarters (as 4 columns) dynamically get updated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 15:20:28 GMT</pubDate>
    <dc:creator>newqlik2017</dc:creator>
    <dc:date>2017-10-05T15:20:28Z</dc:date>
    <item>
      <title>Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402680#M512785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Date1 column in this format - YYYYMM.&lt;/P&gt;&lt;P&gt;Date1 = 201703 is 1st quarter&lt;/P&gt;&lt;P&gt;Date1 = 201706 is 2nd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201709 is 3rd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201712 is 4th quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date1 = 201803 is 1st quarter &lt;/P&gt;&lt;P&gt;Date1 = 201806 is 2nd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201809 is 3rd quarter&lt;/P&gt;&lt;P&gt;Date1 = 201812 is 4th quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a rolling 4 quarter so that in a pivot table, the 4 quarters (as 4 columns) dynamically get updated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402680#M512785</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-05T15:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402681#M512786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking to show Max 4 quarters in your pivot table? May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Date1 is in number format.....&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;Date1 = {"$(='&amp;gt;' &amp;amp; (Max(Date1)-100) &amp;amp; '&amp;lt;=' &amp;amp; Max(Date1))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Date1 is in Datef format (like you mentioned)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;{&amp;lt;Date1 = {"$(='&amp;gt;' &amp;amp; Date(AddYears(Max(Date1), -1), 'YYYYMM') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date1), 'YYYYMM'))"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 15:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402681#M512786</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-05T15:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402682#M512787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;='Q' &amp;amp; Right(Date1,2)/3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 17:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402682#M512787</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-10-05T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402683#M512788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, Yes I'm looking for last 4 quarters. I've the Date as a dimension in my pivot table, not as expression. How does this fit in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension is:&lt;BR /&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;PICK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, Date1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DIFF1', 'DIFF2', 'DIFF3')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; Pick(Dim,&lt;BR /&gt; '$'&amp;amp;Num(round(Sum(COMPANY) * 1.05),'###########,###'), &lt;BR /&gt; Num((Sum({&amp;lt;YR_MTH = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Min(YR_MTH, 2))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} COMPANY) - Sum({&amp;lt;YR_MTH = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Min(YR_MTH, 1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} COMPANY))/100, '#.0%'),&lt;BR /&gt; Num((Sum({&amp;lt;YR_MTH = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Min(YR_MTH, 3))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} COMPANY) - Sum({&amp;lt;YR_MTH = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Min(YR_MTH, 2))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} COMPANY))/100, '#.0%'),&lt;BR /&gt; Num((Sum({&amp;lt;YR_MTH = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Min(YR_MTH, 4))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} COMPANY) - Sum({&amp;lt;YR_MTH = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(=Min(YR_MTH, 3))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} COMPANY))/100, '#.0%')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178757_Capture2.PNG" style="width: 620px; height: 316px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 17:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402683#M512788</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-05T17:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402684#M512789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fer Fer, that gave me 3 quarters from last year but dropped the current quarter. So, for instance if 201703 is the latest date which is 1st quarter 2017, I got Q2, Q3, Q4 for 2016 only and it dropped the 201703 (Q1 for 2017).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 17:56:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402684#M512789</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-05T17:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402685#M512790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind, the Q1 didn't get dropped. It moved to the last column, so it wasn't in the same sorting order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 18:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402685#M512790</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-05T18:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic 4 rolling quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402686#M512791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1358054#1358054"&gt;https://community.qlik.com/message/1358054#1358054&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help for this discussion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1358054"&gt;Re: Dimension label -  rolling date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 11:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-4-rolling-quarter/m-p/1402686#M512791</guid>
      <dc:creator>newqlik2017</dc:creator>
      <dc:date>2017-10-08T11:30:47Z</dc:date>
    </item>
  </channel>
</rss>

