<?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 Avoiding Duplicate Counts in a Cumulative Chart - Min Date Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280841#M1202604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Issue Date Submitted is my dimension....but this still doesn't work out for me. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 19:55:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-06T19:55:01Z</dc:date>
    <item>
      <title>Avoiding Duplicate Counts in a Cumulative Chart - Min Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280839#M1202602</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 have a bit of a problem. Basically I have two tables: Issues and DPFs- the relationship between the tables is many to many. I am creating a chart which cumulatively counts Issues by their Dates. I would now like to add DPFs to the chart as well, this table does not have any dates though, and so must use the Issue Date through the relationship. The problem I am having is this, lets say 3 issues with different dates (say may, june and july) relate to the same 1 DPF - this DPF is being counted 3 times, once each in may june and july to give a cumulative count of 3 when the count should just be 1. To resolve this we agreed with the client we will only count the DPF when it first occurrs ie with the min issue date.&lt;/P&gt;&lt;P&gt;I have come up with the following but I don't think it is working:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;COUNT(IF(Issue_DATE_SUBMITTED=(aggr(min(ssue_DATE_SUBMITTED),DPF_ID)),DPF_ID))&lt;/P&gt;&lt;P&gt;Can somebody please tell me what I am doing wrong?? Also, just out of curiosity since I am relatively new to qlik- can set analysis be used in this case at all??&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;&lt;P&gt;Julia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 16:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280839#M1202602</guid>
      <dc:creator />
      <dc:date>2010-10-05T16:00:02Z</dc:date>
    </item>
    <item>
      <title>Avoiding Duplicate Counts in a Cumulative Chart - Min Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280840#M1202603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Julia,&lt;/P&gt;&lt;P&gt;See the attached file for help. It depends on what your report looks like, but you'll need to compare the dimension value with the expression. For example if MonthYear is your dimension,&lt;/P&gt;&lt;P&gt;COUNT(IF(MonthYear=(aggr(monthname(min(Issue_DATE_SUBMITTED)),DPF_ID)),DPF_ID))&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Oct 2010 22:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280840#M1202603</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-05T22:18:19Z</dc:date>
    </item>
    <item>
      <title>Avoiding Duplicate Counts in a Cumulative Chart - Min Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280841#M1202604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Issue Date Submitted is my dimension....but this still doesn't work out for me. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 19:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280841#M1202604</guid>
      <dc:creator />
      <dc:date>2010-10-06T19:55:01Z</dc:date>
    </item>
    <item>
      <title>Avoiding Duplicate Counts in a Cumulative Chart - Min Date Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280842#M1202605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a reduced version of your QlikView?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 21:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoiding-Duplicate-Counts-in-a-Cumulative-Chart-Min-Date-Problem/m-p/280842#M1202605</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-10-06T21:41:27Z</dc:date>
    </item>
  </channel>
</rss>

