<?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 Where Complete Date = Create Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831890#M1011773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 14:15:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-27T14:15:03Z</dc:date>
    <item>
      <title>Count Where Complete Date = Create Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831886#M1011769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields CREATE_DATE_YEARMONTH and COMPLETE_DATE_YEARMONTH. I want to create a table chart which shows total number of Products that where created Per Month and subsequently the total number that were completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Completed Date must equal Create date to ensure it is just counting figures relating to the same month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[COMPLETE_DATE_YEARMONTH]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CREATE_DATE_YEARMONTH]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But this seems to be returning count of all created values not just those that were completed/created same month. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831886#M1011769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-27T13:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count Where Complete Date = Create Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831887#M1011770</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;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[COMPLETE_DATE_YEARMONTH]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CREATE_DATE_YEARMONTH],1,0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831887#M1011770</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-27T13:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count Where Complete Date = Create Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831888#M1011771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example qvw? Also, what are you counting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831888#M1011771</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-04-27T13:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count Where Complete Date = Create Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831889#M1011772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;=Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Distinct If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[COMPLETE_DATE_YEARMONTH]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[CREATE_DATE_YEARMONTH],Product)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 13:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831889#M1011772</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-04-27T13:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count Where Complete Date = Create Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831890#M1011773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 14:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831890#M1011773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-27T14:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count Where Complete Date = Create Date</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831891#M1011774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest creating extra filed in the script to define your search. Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;* &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; ID,Start_Date,Complete_Date,Product&lt;BR /&gt; 1, 12-03-2015, 12-03-2015,ABC&lt;BR /&gt;&lt;BR /&gt; 2, 13-03-2015,13-03-2015,CDE&lt;BR /&gt;&lt;BR /&gt; 3, 22-03-2015, 28-03-2015,HGT&lt;BR /&gt;&lt;BR /&gt; 4, 25-03-2015, 15-04-2015,TTT&lt;BR /&gt;&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; Data_1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; *&lt;BR /&gt;&amp;nbsp; ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Start_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Complete_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1,0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%KEY_Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Data;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Data; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And what you can do is to have a simple expression like this in you chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%KEY_Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {1}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 15:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Where-Complete-Date-Create-Date/m-p/831891#M1011774</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-04-27T15:06:32Z</dc:date>
    </item>
  </channel>
</rss>

