<?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 Set Analysis and Quarter selection?!?! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Quarter-selection/m-p/144695#M23546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All - I am trying to get set analysis to give me all 3 mos in any given quarter, no matter what month is selected in a given range...&lt;/P&gt;&lt;P&gt;I have been using&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;Year = {&lt;B&gt;&lt;I&gt;$(=max(Year))&lt;/I&gt;&lt;/B&gt;}, Quarter = {&lt;B&gt;&lt;I&gt;$(=MaxString({&amp;lt;Year={$(=max(Year))}&amp;gt;} Quarter))&lt;/I&gt;&lt;/B&gt;}, Month = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Month))"}&amp;gt;} Goal&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;But this only gives you the max mos for the selected range, ie if you select may and june you would have 2 mos in your result not the 3&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For example, if you have 2009 selected, and select the month of March, you should obtain Jan, Feb and March or Q1 as a result. If you select Jan, Feb, Mar Apri, you should expect to see (April May and June) or Q2&lt;/P&gt;&lt;P&gt;If you select Sep, Oct and Nov, you should expect to see Oct, Nov and Dec or Q4...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2009 09:51:42 GMT</pubDate>
    <dc:creator>james</dc:creator>
    <dc:date>2009-05-22T09:51:42Z</dc:date>
    <item>
      <title>Set Analysis and Quarter selection?!?!</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Quarter-selection/m-p/144695#M23546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All - I am trying to get set analysis to give me all 3 mos in any given quarter, no matter what month is selected in a given range...&lt;/P&gt;&lt;P&gt;I have been using&lt;/P&gt;&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;({$&amp;lt;Year = {&lt;B&gt;&lt;I&gt;$(=max(Year))&lt;/I&gt;&lt;/B&gt;}, Quarter = {&lt;B&gt;&lt;I&gt;$(=MaxString({&amp;lt;Year={$(=max(Year))}&amp;gt;} Quarter))&lt;/I&gt;&lt;/B&gt;}, Month = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Month))"}&amp;gt;} Goal&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;But this only gives you the max mos for the selected range, ie if you select may and june you would have 2 mos in your result not the 3&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;For example, if you have 2009 selected, and select the month of March, you should obtain Jan, Feb and March or Q1 as a result. If you select Jan, Feb, Mar Apri, you should expect to see (April May and June) or Q2&lt;/P&gt;&lt;P&gt;If you select Sep, Oct and Nov, you should expect to see Oct, Nov and Dec or Q4...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 09:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Quarter-selection/m-p/144695#M23546</guid>
      <dc:creator>james</dc:creator>
      <dc:date>2009-05-22T09:51:42Z</dc:date>
    </item>
  </channel>
</rss>

