<?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: Count Active Customers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650630#M475657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, can you post your sample xlsx file as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2014 08:53:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-14T08:53:49Z</dc:date>
    <item>
      <title>Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650624#M475651</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;&lt;/P&gt;&lt;P&gt;A very quick question. I have a client master list with client numbers (which is incomplete) and a database with a list of client transactions. I need to count the number of active clients that I have on board. Active clients is defined as all clients on the client master list + any clients in the transaction database that has sales in the year 2014, but are not in the master client list. I have attached some dummy data. (formula in a simple text box will be ok)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650624#M475651</guid>
      <dc:creator />
      <dc:date>2014-07-10T11:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650625#M475652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your script get the clients in the transactions table that are not in your master list using where not exists&lt;/P&gt;&lt;P&gt;then concatenate the result to the master list of the clients&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650625#M475652</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2014-07-10T11:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650626#M475653</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;just do a FULL/ OUTER/ WHATEVER JOIN (it's OUTER in QV, judging from the help) between the two tables, using your Customer_ID as join_field. That should return a complete list of all customers that are in either of the tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 11:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650626#M475653</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-07-10T11:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650627#M475654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;LOAD CID,&lt;/P&gt;&lt;P&gt;null() as Tran_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Customer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cust_Tran:&lt;/P&gt;&lt;P&gt;LOAD CID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tran_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Tran_Date) as Year&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Cust_Tran)&lt;/P&gt;&lt;P&gt;where Year(Tran_Date)=2014;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 12:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650627#M475654</guid>
      <dc:creator />
      <dc:date>2014-07-10T12:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650628#M475655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yet another alternative for you to consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create a mapping table of distinct customers from your transaction table with the second column being 1.&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On your customers table use an applymap with a default of 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you a 1/0 flag field for active customers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 12:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650628#M475655</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-07-10T12:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650629#M475656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can assign your master list clients [Transaction Date] as 0 in load script, then just&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Year={2014,0}&amp;gt;} distinct [Client No])&lt;/P&gt;&lt;P&gt;That is all because NULL handling is a real mess in Qlikview... (Tell me somebody, why it is so?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 17:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650629#M475656</guid>
      <dc:creator />
      <dc:date>2014-07-11T17:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650630#M475657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, can you post your sample xlsx file as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 08:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650630#M475657</guid>
      <dc:creator />
      <dc:date>2014-07-14T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650631#M475658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 10:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650631#M475658</guid>
      <dc:creator />
      <dc:date>2014-07-14T10:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650632#M475659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like that probably...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 10:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650632#M475659</guid>
      <dc:creator />
      <dc:date>2014-07-14T10:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650633#M475660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your problem is solved, please close the topic and choose the correct solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 06:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650633#M475660</guid>
      <dc:creator />
      <dc:date>2014-07-15T06:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Count Active Customers</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650634#M475661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, much appreciated, this is perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 17:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Active-Customers/m-p/650634#M475661</guid>
      <dc:creator />
      <dc:date>2014-07-15T17:57:37Z</dc:date>
    </item>
  </channel>
</rss>

