<?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: KPI showing wrong count in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-showing-wrong-count/m-p/1733909#M56039</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you must have multiple records with same combination of the 3 fields (which may or may not be right) for your KPI to stop counting the duplicates try;&lt;/P&gt;&lt;P&gt;=count(distinct If(Date([Consumption Date])=Date([Scheduled Date]),[Scheduled Date]))&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2020 19:13:00 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2020-08-06T19:13:00Z</dc:date>
    <item>
      <title>KPI showing wrong count</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-showing-wrong-count/m-p/1733530#M56007</link>
      <description>&lt;P&gt;&amp;nbsp;Hi Team,&lt;/P&gt;&lt;P&gt;Below is the scenario.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiranb13_0-1596646202988.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38588iA6C632E5C287A95A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiranb13_0-1596646202988.png" alt="kiranb13_0-1596646202988.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiranb13_1-1596646283823.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38589i2F9940460D91B708/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiranb13_1-1596646283823.png" alt="kiranb13_1-1596646283823.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression in table :&amp;nbsp;&lt;/P&gt;&lt;P&gt;=If(Date([Consumption Date])=Date([Scheduled Date]),Date([Scheduled Date]))&lt;/P&gt;&lt;P&gt;Expression in KPI:&lt;/P&gt;&lt;P&gt;=sum(If(Date([Consumption Date])=Date([Scheduled Date]),1))&lt;/P&gt;&lt;P&gt;There are 12 records in table. But in KPI i am getting the value as 36. I tried with count expression as well.&lt;/P&gt;&lt;P&gt;=count(If(Date([Consumption Date])=Date([Scheduled Date]),Date([Scheduled Date]))&lt;/P&gt;&lt;P&gt;Can anyone help me out here with the correct expression to get value as 12 ?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-showing-wrong-count/m-p/1733530#M56007</guid>
      <dc:creator>kiranb13</dc:creator>
      <dc:date>2021-12-20T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: KPI showing wrong count</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-showing-wrong-count/m-p/1733909#M56039</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you must have multiple records with same combination of the 3 fields (which may or may not be right) for your KPI to stop counting the duplicates try;&lt;/P&gt;&lt;P&gt;=count(distinct If(Date([Consumption Date])=Date([Scheduled Date]),[Scheduled Date]))&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-showing-wrong-count/m-p/1733909#M56039</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2020-08-06T19:13:00Z</dc:date>
    </item>
  </channel>
</rss>

