<?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: Rolling Fiscal Quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231837#M83524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please post the answer? Cause, I couldn't make it work right. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Do you mean something like this sum( {$&amp;lt;FiscalQuarter={$(=Right({&amp;lt;FiscalQuarter={$(=Only(FiscalQuarter))}&amp;gt;},1))}&amp;gt;} Sales) ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 21:00:53 GMT</pubDate>
    <dc:creator>eleni_theodorid</dc:creator>
    <dc:date>2011-10-27T21:00:53Z</dc:date>
    <item>
      <title>Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231831#M83518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have to create sales for current quarter and preceding quarters using set analysis.&lt;/P&gt;&lt;P&gt;I've got a numeric QuarterID in my script and am using the following expression:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;QuarterID = {$(=ONLY(QuarterID)-1)}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;But this is only working if I specifically select numeric QuarterID from a list box. I would much rather the user select a year and Q1, Q2, etc. But this doesn't seem to work, even though the QuarterID seems correctly associated with the combination of year and Quarter. It also seems that if I select Year and the QuarterID, it still displays correctly. It is when I add in the Q1 the link stops working correctly. Something is wrong here...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 02:36:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231831#M83518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-08T02:36:39Z</dc:date>
    </item>
    <item>
      <title>Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231832#M83519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And getting more to root of issue, the expression works as expected when no subtraction is involved. I can select Year and Quarter with no issue and it will display current quarter sales using set analysis, it is the addition of the "-1" that is causing the problem. I am missing something here...&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;QuarterID = {$(=ONLY(QuarterID))}&amp;gt;}Sales) //for displaying current quarter&lt;/P&gt;&lt;P&gt;This does not work with associated selections:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;QuarterID = {$(=ONLY(QuarterID)-1)}&amp;gt;}Sales) //for displaying previous quarter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 02:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231832#M83519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-08T02:56:06Z</dc:date>
    </item>
    <item>
      <title>Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231833#M83520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nevermind... I got it. I just added a further code to ignore the "Q" selection. Worked like a charm...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 03:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231833#M83520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-08T03:44:17Z</dc:date>
    </item>
    <item>
      <title>Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231834#M83521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What code you added to ignore Q in the Quarter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 11:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231834#M83521</guid>
      <dc:creator />
      <dc:date>2011-02-01T11:21:34Z</dc:date>
    </item>
    <item>
      <title>Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231835#M83522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can ignotre Q by Right Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 11:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231835#M83522</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-02-01T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231836#M83523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 12:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231836#M83523</guid>
      <dc:creator />
      <dc:date>2011-02-01T12:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Fiscal Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231837#M83524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you please post the answer? Cause, I couldn't make it work right. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Do you mean something like this sum( {$&amp;lt;FiscalQuarter={$(=Right({&amp;lt;FiscalQuarter={$(=Only(FiscalQuarter))}&amp;gt;},1))}&amp;gt;} Sales) ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 21:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-Fiscal-Quarter/m-p/231837#M83524</guid>
      <dc:creator>eleni_theodorid</dc:creator>
      <dc:date>2011-10-27T21:00:53Z</dc:date>
    </item>
  </channel>
</rss>

