<?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 for Aggregation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-for-Aggregation/m-p/2091839#M89496</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I need help finding a solution for counting&amp;nbsp; "Order ID" where "Order Date" occurs in one QUARTER, and "ship Date" happen in other QUARTER.&amp;nbsp; (Other than using filters)&lt;/P&gt;
&lt;P&gt;eg: below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicouek_0-1688909894223.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/111847i2979F70BCE786B68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nicouek_0-1688909894223.png" alt="nicouek_0-1688909894223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Any input will be appreciated.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Sun, 09 Jul 2023 13:41:21 GMT</pubDate>
    <dc:creator>nicouek</dc:creator>
    <dc:date>2023-07-09T13:41:21Z</dc:date>
    <item>
      <title>Set Analysis for Aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-for-Aggregation/m-p/2091839#M89496</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I need help finding a solution for counting&amp;nbsp; "Order ID" where "Order Date" occurs in one QUARTER, and "ship Date" happen in other QUARTER.&amp;nbsp; (Other than using filters)&lt;/P&gt;
&lt;P&gt;eg: below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nicouek_0-1688909894223.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/111847i2979F70BCE786B68/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nicouek_0-1688909894223.png" alt="nicouek_0-1688909894223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Any input will be appreciated.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 13:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-for-Aggregation/m-p/2091839#M89496</guid>
      <dc:creator>nicouek</dc:creator>
      <dc:date>2023-07-09T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for Aggregation</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-for-Aggregation/m-p/2091854#M89497</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;This is a good example of using Advanced Search in Set Analysis, or as they call it now in the Help documentation,&amp;nbsp; the "expression search". Since you are looking for selecting Orders, your filter should be based on the [Order ID] field, and the advanced search condition should require that the [Order Date]'s quarter is different than the [Ship Date]' quarter.&amp;nbsp; So, if you are using a "regular" Gregorian calendar, your Set Analysis condition could look like this:&lt;/P&gt;
&lt;P&gt;[Order ID] = {"=ceil(Month([Order Date])/3) &amp;lt;&amp;gt; ceil(Month([Ship Date])/3)"}&lt;/P&gt;
&lt;P&gt;If your quarters are calculated based on a fiscal calendar, then you should replace each "ceil" function with the specific quarter calculation.&lt;/P&gt;
&lt;P&gt;To learn more advanced development techniques, check out the agenda of the &lt;A href="https://masterssummit.com" target="_blank"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Orlando and to Dublin!&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2023 20:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-for-Aggregation/m-p/2091854#M89497</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-07-09T20:51:53Z</dc:date>
    </item>
  </channel>
</rss>

