<?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 KPI comparing two date fields in a table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-comparing-two-date-fields-in-a-table/m-p/1839885#M69531</link>
    <description>&lt;P&gt;I am working with a table that has two date fields [Initial Date] and [Completed Date].&amp;nbsp; I have a KPI set to show what dates are upcoming (within the next 7 days):&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;[Initial Date] = {"&amp;gt;=$(=timestamp(now()))&amp;lt;=$(=timestamp(now() + 7))"} [Title])&lt;/P&gt;&lt;P&gt;This works as intended and shows the count of Initial Dates coming up in the next 7 days, but now I need to also check to see if the [Completed Date] has been populated and, if it has, don't count it.&amp;nbsp; How could I accomplish this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Sep 2021 18:52:12 GMT</pubDate>
    <dc:creator>Evan0211</dc:creator>
    <dc:date>2021-09-28T18:52:12Z</dc:date>
    <item>
      <title>KPI comparing two date fields in a table</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-comparing-two-date-fields-in-a-table/m-p/1839885#M69531</link>
      <description>&lt;P&gt;I am working with a table that has two date fields [Initial Date] and [Completed Date].&amp;nbsp; I have a KPI set to show what dates are upcoming (within the next 7 days):&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;[Initial Date] = {"&amp;gt;=$(=timestamp(now()))&amp;lt;=$(=timestamp(now() + 7))"} [Title])&lt;/P&gt;&lt;P&gt;This works as intended and shows the count of Initial Dates coming up in the next 7 days, but now I need to also check to see if the [Completed Date] has been populated and, if it has, don't count it.&amp;nbsp; How could I accomplish this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 18:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-comparing-two-date-fields-in-a-table/m-p/1839885#M69531</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2021-09-28T18:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: KPI comparing two date fields in a table</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-comparing-two-date-fields-in-a-table/m-p/1839887#M69532</link>
      <description>&lt;P&gt;&lt;SPAN&gt;=Count({$&amp;lt;[Initial Date] = {"&amp;gt;=$(=timestamp(now()))&amp;lt;=$(=timestamp(now() + 7))"}&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;,&amp;nbsp;[Completed Date] = {"=len([Completed Date])&amp;gt;0"}&lt;/STRONG&gt; &lt;/FONT&gt;&amp;gt;} [Title])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 18:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-comparing-two-date-fields-in-a-table/m-p/1839887#M69532</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-09-28T18:54:45Z</dc:date>
    </item>
  </channel>
</rss>

