<?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 over base not giving right calculated values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566169#M741373</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9659i82FCB4909A89CA45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi, i do not know why my syntax is giving me these duplicate totals.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[CDDMonth] ={"&amp;gt;=$(=AddMonths(Max([CDDMonth]),-2))&amp;lt;=$(=Max([CDDMonth]))"},&lt;BR /&gt;[Day Bucket] = {'Total Overdue'}&amp;gt;} [CDD cases])&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 00:51:07 GMT</pubDate>
    <dc:creator>alfredho</dc:creator>
    <dc:date>2019-04-08T00:51:07Z</dc:date>
    <item>
      <title>Count over base not giving right calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1565698#M741370</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following syntax, to show current and past 2 months trending. The part highlighted in red is not giving me the right calculation. However, when i input a specific month (in green) the result is correct. I need expert advise. Thank you&lt;/P&gt;&lt;P&gt;If([Data Value] = 'CSFA',&lt;/P&gt;&lt;P&gt;Num(Sum({&amp;lt;Reporting ={"&amp;gt;=$(=AddMonths(Max([Reporting]),-2))&amp;lt;=$(=Max([Reporting])) "}&amp;gt;} Count)/ 612, '##.00%'),&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;If([Data Value] = 'CDD',&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Num(Sum({&amp;lt;[Reporting] ={"&amp;gt;=$(=AddMonths(Max([Reporting]),-2))&amp;lt;=$(=Max([Reporting]))"}&amp;gt;} Count) / &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Sum({&amp;lt;[CDDMonth] ={"&amp;gt;=$(=AddMonths(Max([CDDMonth]),-2))&amp;lt;=$(=Max([CDDMonth]))"}, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;[Day Bucket] = {'Total Overdue'}&amp;gt;} [CDD cases]), '##.&lt;SPAN&gt;00000000'),&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;Num(Sum({&amp;lt;Reporting ={"28/02/2019"}, [Data Value] = {"CDD"}&amp;gt;} Count) / &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;Sum({&amp;lt;CDDMonth ={"28/02/2019"}, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;[Day Bucket] = {"Total Overdue"}&amp;gt;} [CDD cases]), '##.&lt;SPAN&gt;&lt;FONT color="#008000"&gt;00000000'&lt;/FONT&gt;&lt;/SPAN&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sum({&amp;lt;Reporting ={"&amp;gt;=$(=AddMonths(Max([Reporting]),-2))&amp;lt;=$(=Max([Reporting]))"}&amp;gt;} Count)))&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1565698#M741370</guid>
      <dc:creator>alfredho</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count over base not giving right calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1565707#M741371</link>
      <description>Hi,&lt;BR /&gt;Check your date format and Calculate Start and end date in Variable and use those variable in Set analysis, But make sure Field Value format and Variable Value format are same -&lt;BR /&gt;Sum({&amp;lt;Reporting={'&amp;gt;= $(vStart_Date) &amp;lt;= $(vEnd_Date)'}&amp;gt;} Count)&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Fri, 05 Apr 2019 10:20:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1565707#M741371</guid>
      <dc:creator>ashok_rajm</dc:creator>
      <dc:date>2019-04-05T10:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count over base not giving right calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1565832#M741372</link>
      <description>&lt;P&gt;Doesn't seems to work. Am currently working on 2 tables. One which I derive the counts, while the other provide the base, however the latter has fewer months. But the date formats are the same, will that be an issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1565832#M741372</guid>
      <dc:creator>alfredho</dc:creator>
      <dc:date>2019-04-05T13:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count over base not giving right calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566169#M741373</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9659i82FCB4909A89CA45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi, i do not know why my syntax is giving me these duplicate totals.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[CDDMonth] ={"&amp;gt;=$(=AddMonths(Max([CDDMonth]),-2))&amp;lt;=$(=Max([CDDMonth]))"},&lt;BR /&gt;[Day Bucket] = {'Total Overdue'}&amp;gt;} [CDD cases])&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 00:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566169#M741373</guid>
      <dc:creator>alfredho</dc:creator>
      <dc:date>2019-04-08T00:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Count over base not giving right calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566247#M741374</link>
      <description>&lt;P&gt;Hi, the earlier issue is due to the joining tables issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a new issue. Am trying to sum by month and the below syntax has instead given me total of 3 months.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Reporting] = {"&amp;gt;=$(=AddMonths(Max([Month]),-2))&amp;lt;=$(=Max([Month]))"},&lt;BR /&gt;[Day Bucket] = {'Total Overdue'}&amp;gt;} [Cases])&lt;/P&gt;&lt;P&gt;How to resolve this?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 08:37:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566247#M741374</guid>
      <dc:creator>alfredho</dc:creator>
      <dc:date>2019-04-08T08:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count over base not giving right calculated values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566846#M741375</link>
      <description>Can you share the sample application.</description>
      <pubDate>Tue, 09 Apr 2019 10:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-over-base-not-giving-right-calculated-values/m-p/1566846#M741375</guid>
      <dc:creator>ashok_rajm</dc:creator>
      <dc:date>2019-04-09T10:36:47Z</dc:date>
    </item>
  </channel>
</rss>

