<?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 Analysis to select all months in Quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054636#M353618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i see what you're suggesting here, but my need is for it to be dynamic based on the user selection.&amp;nbsp; If the user selects August, I need it to show all of Q3, if they select Feb, it should show Q1, etc.&amp;nbsp; Or is there a way to adapt your suggestion to what I'm looking for?&amp;nbsp; Sorry if I'm just not seeing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 20:32:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-08T20:32:29Z</dc:date>
    <item>
      <title>Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054632#M353614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement to display all values falling within the quarter when any month within the quarter is selected in filters.&amp;nbsp; So if the user selects the month of May, they should see sales from all of Q2.&amp;nbsp; Can anyone help me adjust the syntax of the below (or provide an alternate solution if necessary)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;SaleQtr = p({&amp;lt;SaleMonth = {$(=GetFieldSelections(SaleMonth))}&amp;gt;} SaleQtr)&amp;gt;} sale_amount)&lt;/P&gt;&lt;P&gt;I have tried several variations on the above with no success so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054632#M353614</guid>
      <dc:creator />
      <dc:date>2016-02-04T20:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054633#M353615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;{&amp;lt;SaleQtr = p(SaleQtr), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SaleMonth&lt;/SPAN&gt;&amp;gt;} sale_amount)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054633#M353615</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-04T20:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054634#M353616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a master calendar and set a QTD flag based on a date in the calendar table.&amp;nbsp; It will get refreshed with each load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use -InQuarterToDate(Datum, Today(),0) as CQTD_Flag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Datum is autogenerated date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054634#M353616</guid>
      <dc:creator>fcecconi</dc:creator>
      <dc:date>2016-02-04T21:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054635#M353617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that doesn't appear to be valid syntax for set analysis, and I can't quite figure out what you're suggesting well enough to adjust it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:30:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054635#M353617</guid>
      <dc:creator />
      <dc:date>2016-02-08T20:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054636#M353618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i see what you're suggesting here, but my need is for it to be dynamic based on the user selection.&amp;nbsp; If the user selects August, I need it to show all of Q3, if they select Feb, it should show Q1, etc.&amp;nbsp; Or is there a way to adapt your suggestion to what I'm looking for?&amp;nbsp; Sorry if I'm just not seeing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054636#M353618</guid>
      <dc:creator />
      <dc:date>2016-02-08T20:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054637#M353619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am suggesting to ignore the selection made in &lt;STRONG style="color: #3d3d3d; font-size: 13px; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;SaleMonth &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;field, but because of the selection made in SaleMonth we would have made a indirect selection in &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SaleQtr&lt;/STRONG&gt;. So take everything for the SaleQtr (&lt;STRONG&gt;SaleQtr = p(SaleQtr)&lt;/STRONG&gt;) part.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054637#M353619</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-08T20:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054638#M353620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but after much more trial and error, I have come up with the solution - sort of similar to your suggestion.&lt;/P&gt;&lt;P&gt;I created a variable using &lt;STRONG&gt;=concat(SaleQtr,',')&lt;/STRONG&gt; to make a list of possible quarters, then use that in the set analysis:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;SaleQtr = {$(=$(vSaleQtrs))}, SaleMonth = &amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This produces the desired result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054638#M353620</guid>
      <dc:creator />
      <dc:date>2016-02-08T20:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054639#M353621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you did, but I would suggest you to at least try it out once. I find p() to be a cleaner way of doing it + you might learn something new &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054639#M353621</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-08T20:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054640#M353622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I did try the p() route in every possible configuration i could think of but it did not produce the desired behavior in my app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:47:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054640#M353622</guid>
      <dc:creator />
      <dc:date>2016-02-08T20:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to select all months in Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054641#M353623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example to look at &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113940_Capture.PNG" style="height: 324px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 20:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-select-all-months-in-Quarter/m-p/1054641#M353623</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-08T20:54:28Z</dc:date>
    </item>
  </channel>
</rss>

