<?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: count based on 2 joined date fields where 1 is blank in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388609#M807532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help but it didn't work unfortunately, i think the statements above are counting the null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I don't think I'm importing blank cells, I think the issue is that I'm trying to compare the 2 dates based on a field called order reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i found is that if i import the data from 1 spreadsheet then i can count the NULLs and the answer would be correct. Because this time I'm joining&amp;nbsp; in 2 tables which don't have nulls, counting nulls wont work. The nulls are created when i compare the 2 fields against each other&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2017 10:30:59 GMT</pubDate>
    <dc:creator>isciberras</dc:creator>
    <dc:date>2017-10-18T10:30:59Z</dc:date>
    <item>
      <title>count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388605#M807528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I keep encountering an issue in Qlikview where I am unable to count the number of blank fields when the 2 fields I am comparing are joined in Qlikview and not both on the same spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I have 2 date fields that I am comparing in Qlikview. Each date field is held separately in 2 spreadsheets which are joined together by an order reference and item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to achieve is a count of the Receipt Date where the receipt date is blank. So in the case I'm showing below, I would like to have a count of 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date Order Raised&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Receipt Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/12/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/12/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/12/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/12/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;03/12/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;03/12/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;04/12/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;05/12/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previously, when I loaded in all the data from one spreadsheet I was able to count the blank rows of the corresponding Receipt date in the load script, however this time round because I am joining both tables together I can't do a count on the blank fields as Qlikview will tell me that there are no blank fields in the column (Which makes sense as the column won't have any blanks, the blanks occur when i compare both dates in Qlikview)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas around how I can solve this please? Any ideas would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388605#M807528</guid>
      <dc:creator>isciberras</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388606#M807529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;try this expression in the text box &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Receipt Date] - ={*}&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Receipt Date&lt;/SPAN&gt;])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;if(len(trim([&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Receipt Date&lt;/SPAN&gt;]))=0,count([&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Receipt Date&lt;/SPAN&gt;]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388606#M807529</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-10-18T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388607#M807530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this function if it helps&amp;nbsp; nullcount()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/CounterAggregationFunctions/nullcount.htm" rel="nofollow" target="_blank"&gt;http://help.qlik.com/en-US/sense/September2017/Subsystems/Hub/Content/ChartFunctions/CounterAggregationFunctions/nullcount.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388607#M807530</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-18T10:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388608#M807531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be TextCount() instead NullCount()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388608#M807531</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-18T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388609#M807532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help but it didn't work unfortunately, i think the statements above are counting the null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I don't think I'm importing blank cells, I think the issue is that I'm trying to compare the 2 dates based on a field called order reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i found is that if i import the data from 1 spreadsheet then i can count the NULLs and the answer would be correct. Because this time I'm joining&amp;nbsp; in 2 tables which don't have nulls, counting nulls wont work. The nulls are created when i compare the 2 fields against each other&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:30:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388609#M807532</guid>
      <dc:creator>isciberras</dc:creator>
      <dc:date>2017-10-18T10:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388610#M807533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Isaac,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count([Date Order Raised]) - Count([Receipt Date])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will give you the number of orders for which there is no receipt date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388610#M807533</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-10-18T10:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388611#M807534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Could you share the sample app and show us what your trying to do , so that we could help you &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388611#M807534</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-10-18T10:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388612#M807535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=NullCount(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Receipt Date]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;return the no of Null rows in given field(Recipt No)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Sahadev Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388612#M807535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-18T10:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: count based on 2 joined date fields where 1 is blank</title>
      <link>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388613#M807536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for your help Andrew, I tried doing this but unfortunately the answer isn't correct. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will build and share a sample app to try better explain what is happening. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 10:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-based-on-2-joined-date-fields-where-1-is-blank/m-p/1388613#M807536</guid>
      <dc:creator>isciberras</dc:creator>
      <dc:date>2017-10-18T10:54:23Z</dc:date>
    </item>
  </channel>
</rss>

