<?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 distinct values (A) higher than (B) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834653#M469608</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;I am trying to count distinct INSTANT_NUMBERS since last order (ANSWER_TYPE = 'Y'). As the dates when there was no answer are 0, I am taking max SEGMENT_NUMBER and counting distinct Instants where the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;SEGMENT_NUMBER is higher&lt;/SPAN&gt;. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;The dimension is CUSTOMER_NUMBER.&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I manage to get the correct answer only when I select one customer, bet I need the information for all database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I'm trying:&lt;/P&gt;&lt;P&gt;=count(DISTINCT{$&amp;lt;SEGMENT_NUMBER={"&amp;gt;$(=max({&amp;lt;ANSWER_TYPE={'Y'}&amp;gt;}SEGMENT_NUMBERR))"}&amp;gt;} INSTANT_NUMBER)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pic.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91058_pic.JPG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 22:52:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-26T22:52:20Z</dc:date>
    <item>
      <title>Counting distinct values (A) higher than (B)</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834653#M469608</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;I am trying to count distinct INSTANT_NUMBERS since last order (ANSWER_TYPE = 'Y'). As the dates when there was no answer are 0, I am taking max SEGMENT_NUMBER and counting distinct Instants where the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;SEGMENT_NUMBER is higher&lt;/SPAN&gt;. &lt;SPAN style="font-size: 13.3333330154419px;"&gt;The dimension is CUSTOMER_NUMBER.&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I manage to get the correct answer only when I select one customer, bet I need the information for all database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I'm trying:&lt;/P&gt;&lt;P&gt;=count(DISTINCT{$&amp;lt;SEGMENT_NUMBER={"&amp;gt;$(=max({&amp;lt;ANSWER_TYPE={'Y'}&amp;gt;}SEGMENT_NUMBERR))"}&amp;gt;} INSTANT_NUMBER)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pic.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91058_pic.JPG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 22:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834653#M469608</guid>
      <dc:creator />
      <dc:date>2015-06-26T22:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Counting distinct values (A) higher than (B)</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834654#M469609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 07:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834654#M469609</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-27T07:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Counting distinct values (A) higher than (B)</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834655#M469610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 10:10:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-distinct-values-A-higher-than-B/m-p/834655#M469610</guid>
      <dc:creator />
      <dc:date>2015-06-27T10:10:25Z</dc:date>
    </item>
  </channel>
</rss>

