<?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 How to show counts for only Null in Date column in set analysis...? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1855834#M70634</link>
    <description>&lt;P&gt;our report is based on the not nulls of Date, but to in order to give the comparison to users on nulls in Date, we want to show the diff status as KPIs exceptionally for nulls only.&lt;/P&gt;
&lt;P&gt;in KPI we want to show the counts of IDs where Date is null and status is closed. in our date we have Date as null for different Status like for Active, Closed, ready to Closed.&lt;/P&gt;
&lt;P&gt;we want to show the counts of those diff status for Nulls in Date.&lt;/P&gt;
&lt;P&gt;tried below expressions in KPI its always giving 0, where as in table chart its working.. Any suggestions where am going wrong !&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;=&amp;nbsp; Count({$&amp;lt; Status = 'Closed', Date-= {"= null() "} &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Count({$&amp;lt; Status = 'Closed', Date-= {"=Len(Date)&amp;gt;0 "}&amp;nbsp; &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;// Count({$&amp;lt; Status = 'Closed', Date-= {"=Date)&amp;gt;0 "} &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;&amp;nbsp;// Count({&amp;lt; Status = 'Closed', ID -= E({&amp;lt; Date = {"*"}&amp;gt;}) &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;// if(len(Date) = 0,Count({&amp;lt; Status = 'Saved'&amp;gt;} ID))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 03:57:33 GMT</pubDate>
    <dc:creator>dhasharadh</dc:creator>
    <dc:date>2021-11-05T03:57:33Z</dc:date>
    <item>
      <title>How to show counts for only Null in Date column in set analysis...?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1855834#M70634</link>
      <description>&lt;P&gt;our report is based on the not nulls of Date, but to in order to give the comparison to users on nulls in Date, we want to show the diff status as KPIs exceptionally for nulls only.&lt;/P&gt;
&lt;P&gt;in KPI we want to show the counts of IDs where Date is null and status is closed. in our date we have Date as null for different Status like for Active, Closed, ready to Closed.&lt;/P&gt;
&lt;P&gt;we want to show the counts of those diff status for Nulls in Date.&lt;/P&gt;
&lt;P&gt;tried below expressions in KPI its always giving 0, where as in table chart its working.. Any suggestions where am going wrong !&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;=&amp;nbsp; Count({$&amp;lt; Status = 'Closed', Date-= {"= null() "} &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Count({$&amp;lt; Status = 'Closed', Date-= {"=Len(Date)&amp;gt;0 "}&amp;nbsp; &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;// Count({$&amp;lt; Status = 'Closed', Date-= {"=Date)&amp;gt;0 "} &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;&amp;nbsp;// Count({&amp;lt; Status = 'Closed', ID -= E({&amp;lt; Date = {"*"}&amp;gt;}) &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;// if(len(Date) = 0,Count({&amp;lt; Status = 'Saved'&amp;gt;} ID))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 03:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1855834#M70634</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2021-11-05T03:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to show counts for only Null in Date column in set analysis...?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1855836#M70635</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Create a flag in the script which will identify the null records in Date. Like below.&lt;/P&gt;
&lt;P&gt;If(Len(Date)=0,1,0) as &lt;STRONG&gt;NullDateFlag&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And use the same flag in your set analysis.&lt;/P&gt;
&lt;P&gt;E.g&amp;nbsp;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&lt;SPAN&gt;Count({$&amp;lt; Status = {'Closed'}, &lt;STRONG&gt;NullDateFlag= {'1'}&amp;nbsp;&lt;/STRONG&gt; &amp;gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="x_MsoNormal"&gt;Thanks,&lt;BR /&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 04:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1855836#M70635</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-11-05T04:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to show counts for only Null in Date column in set analysis...?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1856240#M70668</link>
      <description>&lt;P&gt;Thanks for the reply Ashutosh,&lt;/P&gt;
&lt;P&gt;We have no access to script here..is there any way to do it in UI alone...as in order to create that flag in the script, we need to raise a request to other team who maintain qlik DM..&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 03:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1856240#M70668</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2021-11-06T03:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to show counts for only Null in Date column in set analysis...?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1856241#M70669</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you please provide any sample data to work on ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 03:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-show-counts-for-only-Null-in-Date-column-in-set-analysis/m-p/1856241#M70669</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-11-06T03:57:08Z</dc:date>
    </item>
  </channel>
</rss>

