<?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] subtract set using As Of Month rolling periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-subtract-set-using-As-Of-Month-rolling-periods/m-p/714067#M257001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is my request something you simply can't get from Qlikview? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 14:15:56 GMT</pubDate>
    <dc:creator>cicciput</dc:creator>
    <dc:date>2014-11-04T14:15:56Z</dc:date>
    <item>
      <title>[Set analysis] subtract set using As Of Month rolling periods</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-subtract-set-using-As-Of-Month-rolling-periods/m-p/714066#M257000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following community advice I implemented an AsOfMonth table in my load: &lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have such data:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot - 10282014 - 05:55:30 PM.png" class="jive-image" src="/legacyfs/online/69891_Screenshot - 10282014 - 05:55:30 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now I can count:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;how many buyers in current month &lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum({&amp;lt;As_Of_Month.Type={'Current'}&amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;how many buyers in rolling quarter &lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum({&amp;lt;As_Of_Month.Type={'Rolling 3'}&amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;how many buyers in previous rolling quarter &lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum({&amp;lt;As_Of_Month.Type={'Prev. rolling 3'}&amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question: how do I count how many buyers purchased in previous rolling quarter but not in the next rolling quarter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assumed this but it does not work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;Sum({&amp;lt;As_Of_Month.Type = {'Prev. rolling 3'} - {'Rolling 3'} &amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it counts the same as &lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum({&amp;lt;As_Of_Month.Type={'Prev. rolling 3'}&amp;gt;} Account.DCF)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot - 10282014 - 06:05:41 PM.png" class="jive-image" src="/legacyfs/online/69892_Screenshot - 10282014 - 06:05:41 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 17:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-subtract-set-using-As-Of-Month-rolling-periods/m-p/714066#M257000</guid>
      <dc:creator>cicciput</dc:creator>
      <dc:date>2014-10-28T17:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: [Set analysis] subtract set using As Of Month rolling periods</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-subtract-set-using-As-Of-Month-rolling-periods/m-p/714067#M257001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is my request something you simply can't get from Qlikview? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 14:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-subtract-set-using-As-Of-Month-rolling-periods/m-p/714067#M257001</guid>
      <dc:creator>cicciput</dc:creator>
      <dc:date>2014-11-04T14:15:56Z</dc:date>
    </item>
  </channel>
</rss>

