<?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 distinct in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259818#M846903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I wasn't using the parenthesis correctly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 17:00:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-22T17:00:47Z</dc:date>
    <item>
      <title>Count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259815#M846897</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'm new to Qlikview. I have loaded all the data, but want to create a chart that gives me the average of the Totals of Y1, Y2 and Y3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this sample I would need to have the sum of everything divided by 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="199" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 233px; height: 193.63px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; text-align: center; color: rgb(255, 255, 255); background-color: rgb(102, 144, 188);" valign="middle"&gt;&lt;STRONG&gt;Serial Numbers&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: rgb(255, 255, 255); background-color: rgb(102, 144, 188);" valign="middle"&gt;&lt;STRONG&gt;X1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: rgb(255, 255, 255); background-color: rgb(102, 144, 188);" valign="middle"&gt;&lt;STRONG&gt;X2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;&lt;P&gt;Y1&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;1.2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Y1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5.1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Y1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;4.2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;6.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Y2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;6.9&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3.3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Y2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;2.1&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3.7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Y2&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;7.4&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;8.4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Y3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;5.8&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;8.6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do this&lt;SPAN style="font-size: 10pt;"&gt; +&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(x1)/&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;[DISTINCT]&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;[Serial Numers]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;nbsp; but it's not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you know how to use count discriminating the equal values?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Victor&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259815#M846897</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259816#M846899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression should have worked... I am getting 10.9 with the above expression&lt;/P&gt;&lt;P&gt;or you can try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Avg(Aggr(Sum(X1), [Serial Numbers]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 15:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259816#M846899</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-22T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259817#M846901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you expecting from given data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 15:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259817#M846901</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-22T15:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259818#M846903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, I wasn't using the parenthesis correctly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259818#M846903</guid>
      <dc:creator />
      <dc:date>2017-03-22T17:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259819#M846905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, the square brackets around TOTAL (as shown e.g. in some HELP texts) is only saying that's an optional part of the function, not that it should be printed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/Backus-Naur-formalism.htm?_ga=1.99757918.1323026264.1469693381" title="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/Backus-Naur-formalism.htm?_ga=1.99757918.1323026264.1469693381"&gt;What is Backus-Naur formalism? ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Easy to get it wrong...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-distinct/m-p/1259819#M846905</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-22T17:34:47Z</dc:date>
    </item>
  </channel>
</rss>

