<?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 getting duplicates when using count(if in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getting-duplicates-when-using-count-if/m-p/244609#M93276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; After writing the post, I realized that I had duplicates in my master calendar months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 17:57:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-01T17:57:26Z</dc:date>
    <item>
      <title>getting duplicates when using count(if</title>
      <link>https://community.qlik.com/t5/QlikView/getting-duplicates-when-using-count-if/m-p/244608#M93275</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;When I have a set of data where there is a create date and a ticket number.&amp;nbsp; Then I created a master calendar so I can create a bar chart where the dimension is the month name of the master calendar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use count(if(month_master = mont_create, id)) i'm getting duplicate information and my count is wrong.&amp;nbsp; However, when I use count(distinct(if (month_master = mont_create, id))), the count is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I verified my data doesn't have duplicates by doing a count(id) and count(distinct(id)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I created a simple test file, it seems to work also.&amp;nbsp; I'm at a lost how I can continue to troushoot this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this time, I'm unable to upload the .qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-duplicates-when-using-count-if/m-p/244608#M93275</guid>
      <dc:creator />
      <dc:date>2012-02-01T17:55:12Z</dc:date>
    </item>
    <item>
      <title>getting duplicates when using count(if</title>
      <link>https://community.qlik.com/t5/QlikView/getting-duplicates-when-using-count-if/m-p/244609#M93276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; After writing the post, I realized that I had duplicates in my master calendar months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 17:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-duplicates-when-using-count-if/m-p/244609#M93276</guid>
      <dc:creator />
      <dc:date>2012-02-01T17:57:26Z</dc:date>
    </item>
  </channel>
</rss>

