<?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 in Set Analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585112#M42792</link>
    <description>&lt;P&gt;Just to understand your table structure:&lt;/P&gt;
&lt;P&gt;Date, CustomerID, Login&lt;/P&gt;
&lt;P&gt;2019-05-27, 1, 1&lt;/P&gt;
&lt;P&gt;2019-05-27, 2, 1&lt;/P&gt;
&lt;P&gt;2019-05-27, 3, 0&lt;/P&gt;
&lt;P&gt;2019-05-27, 1, 1&lt;/P&gt;
&lt;P&gt;Date: the first login? the last user login?&lt;/P&gt;
&lt;P&gt;CustomerID: hope it´s the login ID of the customer.&lt;/P&gt;
&lt;P&gt;Login: looks like a total of logins or the number of connections?&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2019 13:40:33 GMT</pubDate>
    <dc:creator>Ricardo_Gerhard</dc:creator>
    <dc:date>2019-05-27T13:40:33Z</dc:date>
    <item>
      <title>Count in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585093#M42790</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I got a table formatted like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date, CustomerID, Login&lt;/P&gt;&lt;P&gt;2019-05-27,&amp;nbsp; 1, 1&lt;/P&gt;&lt;P&gt;2019-05-27, 2, 1&lt;/P&gt;&lt;P&gt;2019-05-27, 3, 0&lt;/P&gt;&lt;P&gt;2019-05-26, 1, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I know for every Date, for every Customer if he had a Login at that day or not. What I want to do now is to show how many distinct Customers had a Login every Day in a selected TimeRange.&lt;/P&gt;&lt;P&gt;I tried like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;count(distinct {&amp;lt;count(distinct DATE) = count(Login)&amp;gt;}customerID).&amp;nbsp; I figured out, why this doesnt work, by now. Set Analysis works as an imagined selection, so Qlik can't count an imagined Selection on multiple table rows. Is there any other solution to my problem?&lt;/P&gt;&lt;P&gt;I thought about building an extra table just for this metric. My problem is: The user can't custom select a TimeRange then, to count the customers, who logged in every day at the specific TimeRange.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your Help in Advance&lt;/P&gt;&lt;P&gt;Percicator&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 13:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585093#M42790</guid>
      <dc:creator>Pericator</dc:creator>
      <dc:date>2019-05-27T13:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585112#M42792</link>
      <description>&lt;P&gt;Just to understand your table structure:&lt;/P&gt;
&lt;P&gt;Date, CustomerID, Login&lt;/P&gt;
&lt;P&gt;2019-05-27, 1, 1&lt;/P&gt;
&lt;P&gt;2019-05-27, 2, 1&lt;/P&gt;
&lt;P&gt;2019-05-27, 3, 0&lt;/P&gt;
&lt;P&gt;2019-05-27, 1, 1&lt;/P&gt;
&lt;P&gt;Date: the first login? the last user login?&lt;/P&gt;
&lt;P&gt;CustomerID: hope it´s the login ID of the customer.&lt;/P&gt;
&lt;P&gt;Login: looks like a total of logins or the number of connections?&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 13:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585112#M42792</guid>
      <dc:creator>Ricardo_Gerhard</dc:creator>
      <dc:date>2019-05-27T13:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585120#M42794</link>
      <description>I got a cross table of Date and CustomerID.&lt;BR /&gt;So I combined every Date, lets say since 2019-01-01, with every CustomerID. And the Login is a flag, 1 for had a login, and 0 for no Login at that day by that Customer.</description>
      <pubDate>Mon, 27 May 2019 13:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585120#M42794</guid>
      <dc:creator>Pericator</dc:creator>
      <dc:date>2019-05-27T13:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count in Set Analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585137#M42796</link>
      <description>&lt;P&gt;I believe this will work:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=count({&amp;lt;CustomerID=E({&amp;lt;Login={0}&amp;gt;})&amp;gt;}DISTINCT CustomerID)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2019 14:24:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-in-Set-Analysis/m-p/1585137#M42796</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-05-27T14:24:44Z</dc:date>
    </item>
  </channel>
</rss>

