<?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 Calculation help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518382#M749388</link>
    <description>Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28537"&gt;@santhiqlik&lt;/a&gt;,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I have tried the above expression but KPI is showing 0 instead of 1.&lt;BR /&gt;</description>
    <pubDate>Mon, 10 Dec 2018 06:53:42 GMT</pubDate>
    <dc:creator>mahitham</dc:creator>
    <dc:date>2018-12-10T06:53:42Z</dc:date>
    <item>
      <title>KPI Calculation help</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518375#M749386</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Can any one please help me on below requirement.&lt;/P&gt;&lt;P&gt;I have a Straight table like below.&lt;/P&gt;&lt;P&gt;ID &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sytemdate &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; startdate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Enddate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;Flag&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;45689 &amp;nbsp; 29/06/2018 &amp;nbsp; &amp;nbsp; 25/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;45689 &amp;nbsp; 1/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/P&gt;&lt;P&gt;78693 &amp;nbsp;&amp;nbsp; 10/05/2018 &amp;nbsp; &amp;nbsp; 11/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 12/07/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;78693 &amp;nbsp;&amp;nbsp; 12/08/2018 &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt; 2/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10/06/2018 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;Flag&lt;/STRONG&gt; &lt;/FONT&gt;is calculated in UI like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;if(Sytemdate&amp;gt;=startdate &amp;nbsp; &amp;nbsp;&amp;nbsp; and&amp;nbsp; Sytemdate&amp;lt;=Enddate&amp;nbsp; ,'1' ,'0'&amp;nbsp; )&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;When Systemdate present in between Start and End dates then it has to show 1 else 0.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;Requirement:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;In a KPI &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;how to calculate the&amp;nbsp; Number of Distinct IDs where Flag = '1'.&lt;/STRONG&gt;&lt;/FONT&gt; Here flag is calculated in UI with above expression.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Cant apply the flag in backend.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Please help me on this.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks in advance.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518375#M749386</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation help</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518379#M749387</link>
      <description>Hi,&lt;BR /&gt;Try this...&lt;BR /&gt;&lt;BR /&gt;Count({&amp;lt;Sytemdate={"&amp;gt;=startdate &amp;lt;=Enddate"}&amp;gt;} Distinct ID)</description>
      <pubDate>Mon, 10 Dec 2018 06:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518379#M749387</guid>
      <dc:creator>santhiqlik</dc:creator>
      <dc:date>2018-12-10T06:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation help</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518382#M749388</link>
      <description>Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28537"&gt;@santhiqlik&lt;/a&gt;,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;I have tried the above expression but KPI is showing 0 instead of 1.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Dec 2018 06:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518382#M749388</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2018-12-10T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation help</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518392#M749389</link>
      <description>Hi,&lt;BR /&gt;Please try this..&lt;BR /&gt;Count(Distinct if(Sytemdate&amp;gt;=startdate and Sytemdate&amp;lt;=Enddate, ID))</description>
      <pubDate>Mon, 10 Dec 2018 07:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518392#M749389</guid>
      <dc:creator>santhiqlik</dc:creator>
      <dc:date>2018-12-10T07:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: KPI Calculation help</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518402#M749390</link>
      <description>Thanks for your help . Its working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 10 Dec 2018 07:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Calculation-help/m-p/1518402#M749390</guid>
      <dc:creator>mahitham</dc:creator>
      <dc:date>2018-12-10T07:49:33Z</dc:date>
    </item>
  </channel>
</rss>

