<?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 How to DistinctCount? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-DistinctCount/m-p/435527#M162420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a fact table including answers to a survey by employee.&lt;/P&gt;&lt;P&gt;I have an expression =COUNT(EmploiyeeID) which will give me # of answers.Answers is the most granular level, so for a given EmployeeID I might have up to 5 records, which makes up to 5 EmployeeIDs (same EmployeeID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my solution, I would like to count number of Employees and not answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So If I count 5 "answers" I would like to have a metric giving 1 "employee".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to accumplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Oct 2012 20:12:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-20T20:12:22Z</dc:date>
    <item>
      <title>How to DistinctCount?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-DistinctCount/m-p/435527#M162420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a fact table including answers to a survey by employee.&lt;/P&gt;&lt;P&gt;I have an expression =COUNT(EmploiyeeID) which will give me # of answers.Answers is the most granular level, so for a given EmployeeID I might have up to 5 records, which makes up to 5 EmployeeIDs (same EmployeeID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my solution, I would like to count number of Employees and not answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So If I count 5 "answers" I would like to have a metric giving 1 "employee".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to accumplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Oct 2012 20:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-DistinctCount/m-p/435527#M162420</guid>
      <dc:creator />
      <dc:date>2012-10-20T20:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to DistinctCount?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-DistinctCount/m-p/435528#M162421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;=Count(Distinct EmployeeID)&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Oct 2012 22:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-DistinctCount/m-p/435528#M162421</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-20T22:41:26Z</dc:date>
    </item>
  </channel>
</rss>

