<?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: Set Expression - For Rolling Quarters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906612#M1001850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes...this is the one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 08:24:19 GMT</pubDate>
    <dc:creator>md_qlikview</dc:creator>
    <dc:date>2015-06-04T08:24:19Z</dc:date>
    <item>
      <title>Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906604#M1001842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write set expression wherein I have to calculate total amount for Four rolling quarters, starting with the current quarter and the values should not be affected by the selection of the quarters or years on the dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried below expression, by which I am getting correct values, but when I select Quarter from the filters on the dashboard the value changes with respect to the selection, which is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;QuarterYear=,Year=,&lt;/P&gt;&lt;P&gt;CloseDate = {"&amp;gt;=$(=Quarterstart(min(Date)))&amp;lt;=$(=QuarterEnd(min(Date),3))"}&amp;gt;} Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me to get the required output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 06:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906604#M1001842</guid>
      <dc:creator>md_qlikview</dc:creator>
      <dc:date>2015-06-04T06:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906605#M1001843</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 like this for last 6 quarters, based on your requirement change the number in QuarterStart().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;QuarterYear=,Year=,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CloseDate = {"&amp;gt;=$(=Quarterstart(max(Date), -5))&amp;lt;=$(=QuarterEnd(Max(Date)))"}&amp;gt;} Amount)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 06:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906605#M1001843</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-04T06:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906606#M1001844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;((Sum({&amp;lt;Quarter=,Date=,QuarterYear=,Year=,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CloseDate = {"&amp;gt;=$(=Quarterstart(min(Date)))&amp;lt;=$(=QuarterEnd(min(Date),3))"}&amp;gt;} Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 06:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906606#M1001844</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2015-06-04T06:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906607#M1001845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appreciated. When i use this expression, values still varies based on selection of quarters.&lt;/P&gt;&lt;P&gt;But i have try below expression and now the values are freeze and correct too.&lt;/P&gt;&lt;P&gt;What is your thought on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;((Sum({&amp;lt;QuarterYear=,Year=,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CloseDate = {"&amp;gt;=$(=Quarterstart(date(today())))&amp;lt;=$(=QuarterEnd(date(today()),3))"}&amp;gt;} Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 06:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906607#M1001845</guid>
      <dc:creator>md_qlikview</dc:creator>
      <dc:date>2015-06-04T06:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906608#M1001846</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, put all your date related fields in the set analysis like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;((Sum({&amp;lt;QuarterYear=,Year=, Quarter=, Month=,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;CloseDate = {"&amp;gt;=$(=Quarterstart(date(today())))&amp;lt;=$(=QuarterEnd(date(today()),3))"}&amp;gt;} Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 07:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906608#M1001846</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-04T07:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906609#M1001847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into using AsOfTables. Search for it in this forum, there is tons of information about it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906609#M1001847</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-06-04T08:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906610#M1001848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks premkumar for your reply..&lt;/P&gt;&lt;P&gt;i did the same way i wrote earlier to jagan mohan and its working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906610#M1001848</guid>
      <dc:creator>md_qlikview</dc:creator>
      <dc:date>2015-06-04T08:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906611#M1001849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks linus for your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906611#M1001849</guid>
      <dc:creator>md_qlikview</dc:creator>
      <dc:date>2015-06-04T08:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression - For Rolling Quarters</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906612#M1001850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes...this is the one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-For-Rolling-Quarters/m-p/906612#M1001850</guid>
      <dc:creator>md_qlikview</dc:creator>
      <dc:date>2015-06-04T08:24:19Z</dc:date>
    </item>
  </channel>
</rss>

