<?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 Help with Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Date/m-p/1598991#M737341</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a KPI that looks at appointments kept bases on wether the attendance time falls within two field times APPT_WINDOW_START and APPOINT_WINDOW_END. Is the attendance falls outside of these two dates its classed as a fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However what i want to do is allow the attendance to be before the APPT_WINDOW_START and allow this as a pass.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KPI in the script is calculated as follows:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET vExp_MUIR_NEW_KPI_Pass_005 = "Num(COUNT({$&amp;lt; $&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START)&lt;/STRONG&gt;&lt;/FONT&gt;, $(vExp_WC_MUIR_NEW_GEN), $(vExp_Job_Status_Not_6), $(vExp_ApptKeptQualify_P), $(vExp_ApptKeptClient_P) &amp;gt;}[SK_APPTOPTIKEY]),'#0')";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET vExp_MUIR_NEW_KPI_Fail_005 = "Num(COUNT({$&amp;lt; $&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START)&lt;/STRONG&gt;&lt;/FONT&gt;, $(vExp_WC_MUIR_NEW_GEN), $(vExp_Job_Status_Not_6), $(vExp_ApptKeptQualify_P), $(vExp_ApptKeptClient_F) &amp;gt;}[SK_APPTOPTIKEY]),'#0')";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The set analysis for&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START) is&amp;nbsp;&amp;nbsp;= [%%CANONICAL_FLAG]={'APPT'};&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Does anyone have any ideas on how i can allow this specific KPI to allow attendances prior to the start date to go as a PASS. Is this just a case of removing the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START) from the KPI itself?&lt;/STRONG&gt;&lt;/FONT&gt;&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;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>RedDead</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Help with Date</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Date/m-p/1598991#M737341</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a KPI that looks at appointments kept bases on wether the attendance time falls within two field times APPT_WINDOW_START and APPOINT_WINDOW_END. Is the attendance falls outside of these two dates its classed as a fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However what i want to do is allow the attendance to be before the APPT_WINDOW_START and allow this as a pass.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KPI in the script is calculated as follows:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SET vExp_MUIR_NEW_KPI_Pass_005 = "Num(COUNT({$&amp;lt; $&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START)&lt;/STRONG&gt;&lt;/FONT&gt;, $(vExp_WC_MUIR_NEW_GEN), $(vExp_Job_Status_Not_6), $(vExp_ApptKeptQualify_P), $(vExp_ApptKeptClient_P) &amp;gt;}[SK_APPTOPTIKEY]),'#0')";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET vExp_MUIR_NEW_KPI_Fail_005 = "Num(COUNT({$&amp;lt; $&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START)&lt;/STRONG&gt;&lt;/FONT&gt;, $(vExp_WC_MUIR_NEW_GEN), $(vExp_Job_Status_Not_6), $(vExp_ApptKeptQualify_P), $(vExp_ApptKeptClient_F) &amp;gt;}[SK_APPTOPTIKEY]),'#0')";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The set analysis for&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START) is&amp;nbsp;&amp;nbsp;= [%%CANONICAL_FLAG]={'APPT'};&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Does anyone have any ideas on how i can allow this specific KPI to allow attendances prior to the start date to go as a PASS. Is this just a case of removing the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(vExp_CanonicalFlag_APPT_WIN_START) from the KPI itself?&lt;/STRONG&gt;&lt;/FONT&gt;&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;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Date/m-p/1598991#M737341</guid>
      <dc:creator>RedDead</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

