<?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 - New and Active Customers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-New-and-Active-Customers/m-p/159504#M34118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I need to create one chart with one dimension (Company) with two expressions - New Customers and Active Customers.... I'm trying to use Set Analysis, with the P() and E() functions. This chart has the condition to calculate only with one month selected.&lt;/P&gt;&lt;P&gt;New Customers: customers that have bought in the selected month and never before&lt;BR /&gt;Active Customers: customers that have bought at least one time in the past 6 months (selected month included).&lt;/P&gt;&lt;P&gt;I'm trying something like this (don't work):&lt;BR /&gt;Count( {$&amp;lt;nCdCustomer = P({1&amp;lt;data = {"&amp;lt;=$(=monthstart(max(data)))"}&amp;gt;} nCdCustomer)&amp;gt;} distinct nCdCustomer)&lt;/P&gt;&lt;P&gt;Thank you very much again.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Julian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 May 2010 20:40:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-20T20:40:19Z</dc:date>
    <item>
      <title>Set Analysis - New and Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-New-and-Active-Customers/m-p/159504#M34118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I need to create one chart with one dimension (Company) with two expressions - New Customers and Active Customers.... I'm trying to use Set Analysis, with the P() and E() functions. This chart has the condition to calculate only with one month selected.&lt;/P&gt;&lt;P&gt;New Customers: customers that have bought in the selected month and never before&lt;BR /&gt;Active Customers: customers that have bought at least one time in the past 6 months (selected month included).&lt;/P&gt;&lt;P&gt;I'm trying something like this (don't work):&lt;BR /&gt;Count( {$&amp;lt;nCdCustomer = P({1&amp;lt;data = {"&amp;lt;=$(=monthstart(max(data)))"}&amp;gt;} nCdCustomer)&amp;gt;} distinct nCdCustomer)&lt;/P&gt;&lt;P&gt;Thank you very much again.&lt;/P&gt;&lt;P&gt;Best Regards&lt;BR /&gt;Julian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 20:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-New-and-Active-Customers/m-p/159504#M34118</guid>
      <dc:creator />
      <dc:date>2010-05-20T20:40:19Z</dc:date>
    </item>
  </channel>
</rss>

