<?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: only count rows with a attribute, which has a timestamp in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/only-count-rows-with-a-attribute-which-has-a-timestamp/m-p/1782405#M60903</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110549"&gt;@Applicable88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to try the E() exclude function:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count(distinct{$&amp;lt;Workplace={'5489'},Systemstatus={"*Open*"},Orders=E({&amp;lt;[InboundDate]={"*"}&amp;gt;})&amp;gt;} Orders)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This should work if you have null values in [InboundDate] when an inbound date has not been set.&amp;nbsp; You may want to confirm if that is the case.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 20:58:37 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-02-12T20:58:37Z</dc:date>
    <item>
      <title>only count rows with a attribute, which has a timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/only-count-rows-with-a-attribute-which-has-a-timestamp/m-p/1782398#M60901</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I only want to count&amp;nbsp;&lt;/P&gt;&lt;P&gt;count(distinct{$&amp;lt;Workplace={'5489'},Systemstatus={"*Open*"}&amp;gt;-&amp;lt;[InboundDate]={"*"}&amp;gt;}Orders)&lt;/P&gt;&lt;P&gt;I basically counting all the orders with these attributes, but exclude those which already have a inbound date. But I always get null values. When I take the last part with the exclusion function out, i have values again. It worked before, so I think the database changed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I chosed one of the "Exclusion methods":&lt;/P&gt;&lt;P&gt;eg: Field -= A&lt;/P&gt;&lt;P&gt;eg. {A} -{B}&lt;/P&gt;&lt;P&gt;Is there another way to only count those ordernumbers, but only those who has no inboundDate yet. I think the problem lies here, that it cannot figure out if a empty inbounddate is a null, 0 , -&amp;nbsp; &amp;nbsp;or just empty value. i tried also nullcount and isnull function like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;count(distinct{$&amp;lt;Workplace={'5489'},Systemstatus={"*Open*"}, [InboundDate]={"nullcount(Inbounddate)=1"}&amp;gt;}Orders)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;count(distinct{$&amp;lt;Workplace={'5489'},Systemstatus={"*Open*"}, [InboundDate]-={"*"}&amp;gt;}Orders)&lt;/P&gt;&lt;P&gt;I hope someone knows an answer.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 20:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-count-rows-with-a-attribute-which-has-a-timestamp/m-p/1782398#M60901</guid>
      <dc:creator>Applicable88</dc:creator>
      <dc:date>2021-02-12T20:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: only count rows with a attribute, which has a timestamp</title>
      <link>https://community.qlik.com/t5/App-Development/only-count-rows-with-a-attribute-which-has-a-timestamp/m-p/1782405#M60903</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110549"&gt;@Applicable88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may want to try the E() exclude function:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;count(distinct{$&amp;lt;Workplace={'5489'},Systemstatus={"*Open*"},Orders=E({&amp;lt;[InboundDate]={"*"}&amp;gt;})&amp;gt;} Orders)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This should work if you have null values in [InboundDate] when an inbound date has not been set.&amp;nbsp; You may want to confirm if that is the case.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 20:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/only-count-rows-with-a-attribute-which-has-a-timestamp/m-p/1782405#M60903</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-02-12T20:58:37Z</dc:date>
    </item>
  </channel>
</rss>

