<?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: Date set analysis showing incorrect count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426707#M811696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All months in that column are 0 until 30JUN2017 which has 49157 when I use that syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 15:07:52 GMT</pubDate>
    <dc:creator>anothergreg</dc:creator>
    <dc:date>2017-09-27T15:07:52Z</dc:date>
    <item>
      <title>Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426702#M811686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;! !Qlikview is giving results that I'm not expecting.&amp;nbsp; I'm assuming it's due to my syntax, but I've done a bunch to try and manipulate it and it's not cooperating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an EVAL_DT field coming through as DDMMMYYYY as default.&amp;nbsp; I have a variable vMaxEval defined as =max(EVAL_DT).&amp;nbsp; I have another variable vMaxED defined in the load script as max(EVAL_DT) giving a value of 42916.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My syntax is supposed to show "Claim count for Jun 2017 Eval Date: 49,157" in a text box. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Claim count for '&amp;amp;capitalize(date(max({1}EVAL_DT),'MMM YYYY'))&amp;amp;' Eval Date:&lt;/P&gt;&lt;P&gt;'&amp;amp;num(count({&amp;lt;[EVAL_DT]={"=$(vMaxED)"}&amp;gt;}distinct CLM_NBR),'#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table attached shows the values in this order:&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;EVAL_DT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;=Date($(vMaxED),'DDMMMYYYY')&lt;/P&gt;&lt;P&gt;=$(vMaxED)&lt;/P&gt;&lt;P&gt;=num(count({&amp;lt;[EVAL_DT]={"=Date($(vMaxEval),'DDMMMYYYY')"}&amp;gt;}CLM_NBR),'###0')&lt;/P&gt;&lt;P&gt;=count(CLM_NBR)&lt;/P&gt;&lt;P&gt;=count(if(Aggr(NODISTINCT Max(EVAL_DT),CLM_NBR) = EVAL_DT, CLM_NBR))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My counts always show up in the text box with 88,351 rather than the 49,157 as expected.&amp;nbsp; I'm not sure where to go from here and I would appreciate if someone could scrutinize my syntax.&amp;nbsp; For detail, I've already tried changing the format of the EVAL_DT to any version of a MDY that exists as well as bringing it in as a whole number with no commas to no avail.&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/Date-set-analysis-showing-incorrect-count/m-p/1426702#M811686</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426703#M811688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's tough to answer without sample. I assume, Date format issue &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426703#M811688</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426704#M811690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Count({&amp;lt;[EVAL_DT]={"&lt;SPAN style="color: #ff0000;"&gt;$(&lt;/SPAN&gt;=Date($(vMaxEval),'DDMMMYYYY')&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}CLM_NBR),'###0')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426704#M811690</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T13:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426705#M811692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to answer without sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you disable your first two expressions and see what results you get?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do see that for the date of June 30th 2017 you are getting the value you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Oscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 14:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426705#M811692</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-09-27T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426706#M811694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be really helpful to get the answer if you share some sample application with data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 14:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426706#M811694</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2017-09-27T14:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426707#M811696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All months in that column are 0 until 30JUN2017 which has 49157 when I use that syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426707#M811696</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426708#M811699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isn't that what you wanted? I am confused as to what the expected output needs to be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426708#M811699</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426709#M811702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be 49157 for all months.&amp;nbsp; Set analysis should give me the result for the month I'm looking for regardless of dimension.&amp;nbsp; Otherwise it would just be a simple if(month=monthintended, sum(X)).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426709#M811702</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426710#M811704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Count(&lt;SPAN style="color: #ff0000;"&gt;TOTAL&lt;/SPAN&gt; {&amp;lt;[EVAL_DT]={"$(=Date($(vMaxEval),'DDMMMYYYY'))"}&amp;gt;}CLM_NBR),'###0')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426710#M811704</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T15:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426711#M811706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426711#M811706</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426712#M811708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426712#M811708</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426713#M811712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426713#M811712</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426714#M811713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Num(Count(TOTAL {&amp;lt;[EVAL_DT]={"$(=Date($(vMaxEval),'DDMMMYYYY'))"}&amp;gt;}CLM_NBR),'###0')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177908_Capture.PNG" style="height: 287px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426714#M811713</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T15:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426715#M811714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This looks like it works at first, but I tried using this and included the full set {1} and my filters are changing the value.&amp;nbsp; It should remain constant regardless of filters - it's an overall contents page and it should be a constant value always.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426715#M811714</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426716#M811715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Num(Count(TOTAL {&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;[EVAL_DT]={"$(=Date($(vMaxEval),'DDMMMYYYY'))"}&amp;gt;}CLM_NBR),'###0')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, update your variable vMaxEval to this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt; EVAL_DT)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426716#M811715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-27T15:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date set analysis showing incorrect count</title>
      <link>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426717#M811716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANK YOU!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 15:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-set-analysis-showing-incorrect-count/m-p/1426717#M811716</guid>
      <dc:creator>anothergreg</dc:creator>
      <dc:date>2017-09-27T15:36:07Z</dc:date>
    </item>
  </channel>
</rss>

