<?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 Counting a distinct clients by comparing current &amp; prior in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-a-distinct-clients-by-comparing-current-prior/m-p/814748#M471192</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;I am trying to client all of the clients in the current time period who ALSO had activity in a prior period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis to determine the correct client count for the current time period is:&lt;/P&gt;&lt;P&gt;Count(Distinct&amp;nbsp; {&amp;lt;TransactionDate = {$(var_currentdates)}&amp;gt;}[Client Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to extend this formula to only include clients that ALSO had activity in the prior period &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;TransactionDate = {$(var_priordates)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Mar 2015 19:32:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-29T19:32:54Z</dc:date>
    <item>
      <title>Counting a distinct clients by comparing current &amp; prior</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-a-distinct-clients-by-comparing-current-prior/m-p/814748#M471192</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;I am trying to client all of the clients in the current time period who ALSO had activity in a prior period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set analysis to determine the correct client count for the current time period is:&lt;/P&gt;&lt;P&gt;Count(Distinct&amp;nbsp; {&amp;lt;TransactionDate = {$(var_currentdates)}&amp;gt;}[Client Name])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now need to extend this formula to only include clients that ALSO had activity in the prior period &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;TransactionDate = {$(var_priordates)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 19:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-a-distinct-clients-by-comparing-current-prior/m-p/814748#M471192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-29T19:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Counting a distinct clients by comparing current &amp; prior</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-a-distinct-clients-by-comparing-current-prior/m-p/814749#M471193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using intersection of sets:&lt;/P&gt;&lt;P&gt;Count({&amp;lt;TransactionDate = {$(var_currentdates)}&amp;gt; * &amp;lt;TransactionDate = {$(var_priordates)}&amp;gt;} distinct [Client Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Mar 2015 19:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-a-distinct-clients-by-comparing-current-prior/m-p/814749#M471193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-29T19:45:43Z</dc:date>
    </item>
  </channel>
</rss>

