<?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 Quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68015#M779214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;Previous Quarter as&lt;/P&gt;&lt;P&gt;=pick(match(MaxString(Quarter),'Q1','Q2','Q3','Q4'),'Q4','Q1','Q2','Q3')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 15:25:01 GMT</pubDate>
    <dc:creator>passionate</dc:creator>
    <dc:date>2018-04-06T15:25:01Z</dc:date>
    <item>
      <title>Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68004#M779203</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 need to create 2 variables to get the Max Quarter and the previous quarter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY EXPRESSION :&lt;/P&gt;&lt;P&gt;(Max Quarter - Previous Quarter)&lt;/P&gt;&lt;P&gt;/Previous Quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am able to get max quarter by using =MaxString(YrQtr) but cannot get previous quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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-Quarter/m-p/68004#M779203</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68005#M779204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this - &lt;/P&gt;&lt;P&gt;QuarterStart(Max(Date),-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68005#M779204</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-04-05T21:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68006#M779205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My dates are based off of Fiscal calendar , and this is not giving me the right quarter , i expect FY18-Q4 for previous quarter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 22:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68006#M779205</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2018-04-05T22:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68007#M779206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can adjust according to Fiscal calendar with the help of 3rd parameter - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;QuarterStart(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #0f0f0f;"&gt;date[, period_no[, first_month_of_year]]&lt;/SPAN&gt;&lt;SPAN class="statement" style="font-weight: bold; color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 16px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="statement" style="font-weight: bold; color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="statement" style="font-weight: bold; color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE cellspacing="0" class="TableStyle-tableGrid" style="margin-bottom: 15px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; margin-right: auto;"&gt;&lt;TBODY style="border-top-width: 2px; border-top-color: #0f0f0f;"&gt;&lt;TR class="Body-Body1" style="border-bottom-width: 1px; border-bottom-color: #d5d5d5;"&gt;&lt;TD class="BodyC--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;&lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;first_month_of_year&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="BodyA--" style="padding: 7px; border: 1px solid #d5d5d5;"&gt;If you want to work with (fiscal) years not starting in January, indicate a value between 2 and 12 in &lt;SPAN class="statement" data-mc-conditions="Targets.NotToTranslate" style="font-weight: bold;"&gt;first_month_of_year&lt;/SPAN&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN class="statement" style="font-weight: bold; color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 16px;"&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/DateAndTimeFunctions/quarterstart.htm" title="https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/DateAndTimeFunctions/quarterstart.htm"&gt;https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/DateAndTimeFunctions/quarterstart.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 22:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68007#M779206</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-04-05T22:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68008#M779207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to see FY18-Q4 as the previous quarter value.is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 22:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68008#M779207</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2018-04-05T22:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68009#M779208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean the value as 'FY18-Q4'? or the date type date for the first day of Quarter 4 2018. Can you share some sample data and expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 22:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68009#M779208</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-04-05T22:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68010#M779209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching my application. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 22:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68010#M779209</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2018-04-05T22:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68011#M779210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot open qvw, its unfortunate Qlik doesn't allow to open qvw with personal edition. Hopefully someone having license would help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 22:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68011#M779210</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-04-05T22:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68012#M779211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be this can work if Maxstring worked for you to get 2nd highest-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MaxString(YrQtr,2)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 23:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68012#M779211</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-04-05T23:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68013#M779212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately no, i get an error msg saying maxstring takes only 1 parameter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 23:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68013#M779212</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2018-04-05T23:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68014#M779213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxQuarter = &lt;STRONG&gt;Ceil(num(month(max(OrderDate)))/3)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;vPriorQuarter = &lt;STRONG&gt;Ceil(num(month(addmonths(max(OrderDate),-3)))/3)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 04:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68014#M779213</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2018-04-06T04:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68015#M779214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;Previous Quarter as&lt;/P&gt;&lt;P&gt;=pick(match(MaxString(Quarter),'Q1','Q2','Q3','Q4'),'Q4','Q1','Q2','Q3')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 15:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68015#M779214</guid>
      <dc:creator>passionate</dc:creator>
      <dc:date>2018-04-06T15:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68016#M779215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please take a look at attached app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My quarter formats are like FY17-Q4, none of the above expressions work for previous quarter value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 21:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68016#M779215</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2018-04-06T21:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68017#M779216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you make your fiscal quarter field a dual or create a new field fiscalquarterPeriod using the autonumber so that you can easily use "max" function to get to the max periods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;Dual(YrQtr,AutoNumber(YrQtr,'YrQtr')) as YrQtr&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt; AutoNumber(YrQtr,'YrQtr')) as YrQtrPeriod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2018 16:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68017#M779216</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-08T16:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68018#M779217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;easy solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 02:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68018#M779217</guid>
      <dc:creator>stevejones1</dc:creator>
      <dc:date>2018-04-09T02:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68019#M779218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One front-end solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FirstSortedValue( YrQtr,-Aggr(Max(Mid(YrQtr,3,2)*10+Right(YrQtr,1)),YrQtr),2)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/198885_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 06:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68019#M779218</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-04-09T06:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68020#M779219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread by marking a correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 09:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Quarter/m-p/68020#M779219</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-10T09:06:49Z</dc:date>
    </item>
  </channel>
</rss>

