<?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: Active Customer Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549407#M205227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use nested set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Customer={"=sum({&amp;lt;Year={'&amp;gt;=$(=max(Year)-2)"}&amp;gt;}Sales)&amp;gt;0"}&amp;gt;}Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Oct 2013 08:54:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-13T08:54:19Z</dc:date>
    <item>
      <title>Active Customer Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549405#M205225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i am trying to achieve the following if a customer has bought something the last two years then active if hasnt then inactive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have the following statement but it is not working as i assumed;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Year &amp;gt; max(Year-2),&lt;/P&gt;&lt;P&gt;if(Sum($(vNettoFsg)) &amp;gt; 0, Count(Customer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2013 08:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549405#M205225</guid>
      <dc:creator />
      <dc:date>2013-10-13T08:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Active Customer Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549406#M205226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I would propose that you do this check in the reload script. If it is not possible, please attach a sample application so that I can try on that.&lt;/P&gt;&lt;P&gt;Ioannis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2013 08:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549406#M205226</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-10-13T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Active Customer Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549407#M205227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use nested set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Customer={"=sum({&amp;lt;Year={'&amp;gt;=$(=max(Year)-2)"}&amp;gt;}Sales)&amp;gt;0"}&amp;gt;}Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2013 08:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Active-Customer-Calculation/m-p/549407#M205227</guid>
      <dc:creator />
      <dc:date>2013-10-13T08:54:19Z</dc:date>
    </item>
  </channel>
</rss>

