<?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: Counting Fields that do not Match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45768#M777059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Sasidhar i had to change it around a little bit but the main part the 'Peek' feature seems to do the trick appreciate your time in suggesting this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 09:58:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-17T09:58:04Z</dc:date>
    <item>
      <title>Counting Fields that do not Match</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45766#M777057</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;/P&gt;&lt;P&gt;Hopefully someone can help me in this. I have a file of data and I need to be able to count how many fields do not match on a clients order. For example :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="padding: 0 5.4pt 0 5.4pt;" width="500"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Key&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Client&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="80"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Buyer\Seller&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Fruit&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Coffee&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Milk&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Biscuit&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;1234&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="80"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Buyer&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Apple&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;hobnob&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;1234&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client B&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="80"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Seller&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Pear&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Skimmed&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;custard cream&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;4567&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client C&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="80"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Buyer&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Latte&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;4567&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client D&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="80"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Seller&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Full Fat&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will always be 2 clients only to a key and one will always be the buyer and one will always be the seller but again I stress they will both have the same ‘key’ number to identify that it is the same order. If we look at Key 1234 I would want a count of 1 for the ‘Fruit’ Field as they do not have the same fruit, a count of ‘0’ for the coffee as neither have ordered coffee, a count of 1 for the milk as client B ordered Skimmed but Client A forgot to and again a count of 1 for biscuit because they both choose different biscuits. I would imagine I would need to treat each field separately and rename it for the total to go under as whilst I want to check each field line by line I then want a total at the end for each field. So in the above table the end result should be :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fruit 1&lt;/P&gt;&lt;P&gt;Coffee 1&lt;/P&gt;&lt;P&gt;Milk 2&lt;/P&gt;&lt;P&gt;Biscuit 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something else that should be taken into account is that the keys in the table may not always be together ie I could have this order :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="padding: 0 5.4pt 0 5.4pt;" width="518"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Key&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Client&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="92"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Buyer\Seller&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Fruit&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Coffee&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="70"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Milk&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;STRONG style="color: black;"&gt;Biscuit&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;1234&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="92"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Buyer&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Apple&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="70"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;hobnob&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;4567&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client C&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="92"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Buyer&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Latte&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="70"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;4567&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client D&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="92"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Seller&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="70"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Full Fat&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P align="right" style="text-align: right;"&gt;&lt;STRONG style="color: black;"&gt;1234&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Client B&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="92"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Seller&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Pear&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="70"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Skimmed&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" width="100"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;custard cream&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it needs to take into account the key on each take&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is anyone able to assist in this?&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/Counting-Fields-that-do-not-Match/m-p/45766#M777057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Fields that do not Match</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45767#M777058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Key,Client,Buyer\Seller,Fruit,Coffee,Milk,Biscuit&lt;/P&gt;&lt;P&gt;1234,Client B,Seller,Pear, ,Skimmed,custard cream&lt;/P&gt;&lt;P&gt;4567,Client C,Buyer, ,Latte, ,&lt;/P&gt;&lt;P&gt;4567,Client D,Seller, , ,Full Fat,&lt;/P&gt;&lt;P&gt;1234,Client A,Buyer,Apple, , ,hobnob&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate Load&lt;/P&gt;&lt;P&gt;Key,Client,Buyer\Seller,Fruit,Coffee,Milk,Biscuit,&lt;/P&gt;&lt;P&gt;If(Key=Peek(Key),1,0) as Flag,&lt;/P&gt;&lt;P&gt;If(Key&amp;lt;&amp;gt;Peek(Key),0,If(Len(Trim(Fruit))=0 AND Len(Trim(Peek(Fruit)))=0,0,If(Len(Trim(Fruit))&amp;gt;0 Or WildMatch(Fruit,Peek(Fruit)) ,1,0))) as IsFruit,&lt;/P&gt;&lt;P&gt;If(Key&amp;lt;&amp;gt;Peek(Key),0,If(Len(Trim(Coffee))=0 AND Len(Trim(Peek(Coffee)))=0,0,If(Len(Trim(Coffee))&amp;gt;0 Or WildMatch(Coffee,Peek(Coffee)) ,1,0))) as IsCoffee,&lt;/P&gt;&lt;P&gt;If(Key&amp;lt;&amp;gt;Peek(Key),0,If(Len(Trim(Biscuit))=0 AND Len(Trim(Peek(Biscuit)))=0,0,If(Len(Trim(Biscuit))&amp;gt;0 Or WildMatch(Biscuit,Peek(Biscuit)) ,1,0))) as IsBiscuit,&lt;/P&gt;&lt;P&gt;If(Key&amp;lt;&amp;gt;Peek(Key),0,If(Len(Trim(Milk))=0 AND Len(Trim(Peek(Milk)))=0,0,If(Len(Trim(Milk))&amp;gt;0 Or WildMatch(Milk,Peek(Milk)) ,1,0))) as IsMilk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;T1&lt;/P&gt;&lt;P&gt;Order By Key,Client&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table T1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 09:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45767#M777058</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-17T09:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Fields that do not Match</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45768#M777059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Sasidhar i had to change it around a little bit but the main part the 'Peek' feature seems to do the trick appreciate your time in suggesting this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 09:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45768#M777059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T09:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Fields that do not Match</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45769#M777060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually apologies Sasidhar what you have provided doesnt quite work. It counts when there is 2 different values for the same key but it also needs to could when there is a value vs an empty cell for the same key. Can anyone assist further? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 10:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45769#M777060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Fields that do not Match</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45770#M777061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry to add the reason why Sasidhar's answer does not work is because it only works based on me knowing what the potential input to these fields is. In my live data the input is freeformat so i need an option where i am not deriving known values for it to check, thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 10:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45770#M777061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-25T10:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Fields that do not Match</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45771#M777062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please provide the cases where the logic didnt work or upload a sample app with scrambled data&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6075"&gt;Scrambling Data&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Fields-that-do-not-Match/m-p/45771#M777062</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-25T11:04:18Z</dc:date>
    </item>
  </channel>
</rss>

