<?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 Null in 2 Field not equal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19313#M3220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(Item_2)) = 1 and Serial_No.2=Serial_No.1 , 1,0) as nullitem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;add the above condition in script and =count({&amp;lt;nullitem={1}&amp;gt;}nullitem) use this as expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2018 05:24:54 GMT</pubDate>
    <dc:creator>keerthika</dc:creator>
    <dc:date>2018-04-26T05:24:54Z</dc:date>
    <item>
      <title>Count Null in 2 Field not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19310#M3217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have concern regarding how to count null in 2 fields, its like&lt;/P&gt;&lt;P&gt;=Count(Item_1)(SerialNo.1) not equal (Item_2)(SerialNo.2). See below sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 256px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;Item_1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Serial_No.1&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Item_2&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;Serial_No.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R101138&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KSW10E016034&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;R101138&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KSW10E016034&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R101139&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KSW10E007333&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;R101139&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KSW10E007333&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R101150&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KYA10E003635&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KYA10E003635&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R101150&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KYA10E003505&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;KYA10E003505&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100693&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;53S-038109&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;R100693&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;53S-038109&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100869&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3C9E0031622&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3C9E0031622&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100870&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3C9E0052369&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;R100870&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3C9E0052369&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100874&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3E4E-0296585&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3E4E-0296585&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100905&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3E3E0051832&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;G3E3E0051832&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100906&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;E3U8E-0130086&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;-&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;E3U8E-0130086&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top: none;"&gt;R100907&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;E3U8E-0133025&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;R100907&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;E3U8E-0133025&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;Best Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 01:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19310#M3217</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2018-04-26T01:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count Null in 2 Field not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19311#M3218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what is your expected output or if this is what you are looking for check below? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullValues:&lt;/P&gt;&lt;P&gt;LOAD *, IF(Item_1_NullCount &amp;lt;&amp;gt; Item_2_NullCount, 1, 0) AS NullEqualCnt;&lt;/P&gt;&lt;P&gt;LOAD *, IF(Len(Trim(Item_1)) =0 OR Len(Trim(Serial_No.1)) =0, 0,1) AS Item_1_NullCount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Len(Trim(Item_2)) =0 OR Len(Trim(Serial_No.2)) =0, 0,1) AS Item_2_NullCount INLINE [&lt;/P&gt;&lt;P&gt;Item_1, Serial_No.1, Item_2, Serial_No.2&lt;/P&gt;&lt;P&gt;R101138, KSW10E016034, R101138, KSW10E016034&lt;/P&gt;&lt;P&gt;R101139, KSW10E007333, R101139, KSW10E007333&lt;/P&gt;&lt;P&gt;R101150, KYA10E003635, , KYA10E003635&lt;/P&gt;&lt;P&gt;R101150, KYA10E003505, , KYA10E003505&lt;/P&gt;&lt;P&gt;R100693, 53S-038109 ,R100693, 53S-038109&lt;/P&gt;&lt;P&gt;R100869, G3C9E0031622, , G3C9E0031622&lt;/P&gt;&lt;P&gt;R100870, G3C9E0052369, R100870, G3C9E0052369&lt;/P&gt;&lt;P&gt;R100874, G3E4E-0296585, , G3E4E-0296585&lt;/P&gt;&lt;P&gt;R100905, G3E3E0051832, , G3E3E0051832&lt;/P&gt;&lt;P&gt;R100906, E3U8E-0130086, , E3U8E-0130086&lt;/P&gt;&lt;P&gt;R100907, E3U8E-0133025, R100907, E3U8E-0133025&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 02:36:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19311#M3218</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-04-26T02:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count Null in 2 Field not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19312#M3219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishwarath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your fast support actually what i want is to count all null at Item_2, that Serial_No.2 is equal&amp;nbsp; to Serial_No.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 02:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19312#M3219</guid>
      <dc:creator>bsbernabe</dc:creator>
      <dc:date>2018-04-26T02:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count Null in 2 Field not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19313#M3220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(Item_2)) = 1 and Serial_No.2=Serial_No.1 , 1,0) as nullitem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;add the above condition in script and =count({&amp;lt;nullitem={1}&amp;gt;}nullitem) use this as expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 05:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Null-in-2-Field-not-equal/m-p/19313#M3220</guid>
      <dc:creator>keerthika</dc:creator>
      <dc:date>2018-04-26T05:24:54Z</dc:date>
    </item>
  </channel>
</rss>

