<?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 based off of two columns in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822563#M67448</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144230"&gt;@Evan0211&lt;/a&gt;&amp;nbsp; try including primary key column of the table instead of&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;[List Title] like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[Initial Date] = {"&amp;lt;=$(=timestamp(now()))"} ,&lt;STRONG&gt;Primary_Key_column&lt;/STRONG&gt;=&amp;nbsp;E({&amp;lt;[Completed Date]={"*"}&amp;gt;})&amp;gt;} [List Title])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are unsure of primary key column then you can simply create it using rowno() like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowno() as &lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then your set analysis would look like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[Initial Date] = {"&amp;lt;=$(=timestamp(now()))"} ,&lt;STRONG&gt;Key&lt;/STRONG&gt;=&amp;nbsp;E({&amp;lt;[Completed Date]={"*"}&amp;gt;})&amp;gt;} [List Title])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 21:25:14 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2021-07-15T21:25:14Z</dc:date>
    <item>
      <title>KPI based off of two columns</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822503#M67439</link>
      <description>&lt;P&gt;I am using a KPI that will look at two columns and I am confused on the syntax.&lt;/P&gt;&lt;P&gt;Column 1 - Initial Date&lt;/P&gt;&lt;P&gt;Column 2 - Completed Date&lt;/P&gt;&lt;P&gt;I need a KPI to say if the initial date is in the past (before today) and the completed date is empty, count it for the KPI.&lt;/P&gt;&lt;P&gt;I am new to Qlik and have the following:&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;[Initial Date] = {"&amp;lt;=$(=timestamp(now()))"} &amp;gt;} [List Title])&lt;/P&gt;&lt;P&gt;That will add up all of the initial dates that are in the past, but how do I condition it to also check the completed date column for an empty (or possibly null, I am not sure how the table handles null values).&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 15:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822503#M67439</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2021-07-15T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: KPI based off of two columns</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822521#M67445</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144230"&gt;@Evan0211&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[Initial Date] = {"&amp;lt;=$(=timestamp(now()))"} ,[List Title]=&amp;nbsp;E({&amp;lt;[Completed Date]={"*"}&amp;gt;})&amp;gt;} [List Title])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 16:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822521#M67445</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-07-15T16:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: KPI based off of two columns</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822523#M67447</link>
      <description>&lt;P&gt;That is returning 0, which is not correct.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 16:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822523#M67447</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2021-07-15T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: KPI based off of two columns</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822563#M67448</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144230"&gt;@Evan0211&lt;/a&gt;&amp;nbsp; try including primary key column of the table instead of&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;[List Title] like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[Initial Date] = {"&amp;lt;=$(=timestamp(now()))"} ,&lt;STRONG&gt;Primary_Key_column&lt;/STRONG&gt;=&amp;nbsp;E({&amp;lt;[Completed Date]={"*"}&amp;gt;})&amp;gt;} [List Title])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you are unsure of primary key column then you can simply create it using rowno() like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowno() as &lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FROM table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then your set analysis would look like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count({$&amp;lt;[Initial Date] = {"&amp;lt;=$(=timestamp(now()))"} ,&lt;STRONG&gt;Key&lt;/STRONG&gt;=&amp;nbsp;E({&amp;lt;[Completed Date]={"*"}&amp;gt;})&amp;gt;} [List Title])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 21:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822563#M67448</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-07-15T21:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: KPI based off of two columns</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822709#M67469</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am unsure where that LOAD* script&amp;nbsp;is located.&amp;nbsp; I loaded the table from a datastore.&amp;nbsp; I unfortunately do not have direct access to the data, the store works as a middle man.&amp;nbsp; To create the table, I pulled in the table chart and then added each dimension from the data tab.&amp;nbsp; Where can I see the load script that is generated?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 12:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-based-off-of-two-columns/m-p/1822709#M67469</guid>
      <dc:creator>Evan0211</dc:creator>
      <dc:date>2021-07-16T12:12:45Z</dc:date>
    </item>
  </channel>
</rss>

