<?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 Count distinct in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602254#M222669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I'm trying to count a total number of users and a total number of users accessing. I'm using data from Google analytics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I'd like this to be a KPI so I created two text objects:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Total number of users: Sum(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;User&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Total number of users accessing:&amp;nbsp; Sum(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;{$&amp;lt;&lt;SPAN style="color: #800000;"&gt;visits&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;0"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[User]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Any thoughts?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2014 09:57:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-04T09:57:27Z</dc:date>
    <item>
      <title>Count distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602254#M222669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hiya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I'm trying to count a total number of users and a total number of users accessing. I'm using data from Google analytics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I'd like this to be a KPI so I created two text objects:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Total number of users: Sum(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;User&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Total number of users accessing:&amp;nbsp; Sum(&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;{$&amp;lt;&lt;SPAN style="color: #800000;"&gt;visits&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"&amp;gt;0"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[User]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Any thoughts?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602254#M222669</guid>
      <dc:creator />
      <dc:date>2014-04-04T09:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602255#M222670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Try using the count function:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Count(distinct User)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Count(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;visits&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;= {&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;"&amp;gt;0"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;}&amp;gt;} distinct &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;User&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 10:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602255#M222670</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-04T10:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602256#M222671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;Gysbert Wassenaar&lt;/A&gt; that did seem to do something good!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a third box that would display number of users NOT accessing the site using:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;visits&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;User&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;It displays 0 every time I make a selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two boxes (Total no of users and Total no of users accessing) are displaying the same value every time I make a date selection. The first box should give me total number of users for the entire dataset but it doesn't, it only counts users that accessed the site on the date I selected. Any idea how to get that fixed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 10:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602256#M222671</guid>
      <dc:creator />
      <dc:date>2014-04-04T10:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602257#M222672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Add {1} to an expression to ignore all selections: Count( &lt;STRONG&gt;{1}&lt;/STRONG&gt; distinct User)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;I'm also guessing that there is only data for users for the dates they actually visited. So if you select a date you cannot select users with a visit value of 0 since there is no data for the users you're looking for. If that's correct then you should be able to calculate the number of non-visiting users with count({1-&amp;lt;visits={'*'}&amp;gt;} User).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 10:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/602257#M222672</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-04T10:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/2479220#M1226053</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Count(DISTINCT {&amp;lt;OCN = {"=Sum(ARRPLUSAUEUR)&amp;lt;=100000"}&amp;gt;} OCN)&lt;/P&gt;
&lt;P&gt;My above condition is working absolutely fine, I'm counting the OCNs here where the "ARRPLUSAUEUR"&amp;lt;=100K. Now the problem I'm facing is to give one filter on one of the field in my data and want to restrict the data, but not able to use IF in this condition. Can you please help.&lt;/P&gt;
&lt;P&gt;Condition: D_LIFECYCLESTATUSCODE="In Process", This I want to put somewhere in this condition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 03:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct-in-Set-Analysis/m-p/2479220#M1226053</guid>
      <dc:creator>pshverma847</dc:creator>
      <dc:date>2024-09-03T03:26:41Z</dc:date>
    </item>
  </channel>
</rss>

