<?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 function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395190#M798769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In straight table try like simple if with count()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(ColumnA&amp;lt;&amp;gt;ColumnB,1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 12:43:35 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2017-11-29T12:43:35Z</dc:date>
    <item>
      <title>Count function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395189#M798768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me on below requirement.&lt;/P&gt;&lt;P&gt;I have to calculate&amp;nbsp; the count when Column A is not matching with Column B based on unique IDs.&lt;/P&gt;&lt;P&gt;Here for the XYZ ID Column A is not Matching with Column B. So i need to get the count as 1.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="185071" alt="COUNT.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/185071_COUNT.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&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-function/m-p/1395189#M798768</guid>
      <dc:creator>bhavvibudagam</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395190#M798769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In straight table try like simple if with count()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(if(ColumnA&amp;lt;&amp;gt;ColumnB,1,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395190#M798769</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-11-29T12:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395191#M798770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;try this in script:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Hash128&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;product&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Hash128&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;product1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Customer&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;newcustomercount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Customer,product,product1&lt;BR /&gt; A,p1,p1&lt;BR /&gt; B,p2,p10&lt;BR /&gt; C,p3,p4&lt;BR /&gt; D,p5,p6&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395191#M798770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T12:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395192#M798771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;ID={"=[Column A]&amp;lt;&amp;gt;[Column B]"}&amp;gt;}ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395192#M798771</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-11-29T12:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395193#M798772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rather, I would think much on this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;If(ColumnA &amp;lt;&amp;gt; ColumnB, 1,0) as Flag&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Then, &lt;STRONG&gt;Count({&amp;lt;Flag = {1}&amp;gt;} ID)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt; direct forward&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Count({&amp;lt;ColumnA = {"=ColumnA &amp;lt;&amp;gt; ColymnB"}&amp;gt;} ID)&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395193#M798772</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-29T12:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count function</title>
      <link>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395194#M798773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will go with &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-function/m-p/1395194#M798773</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-11-29T12:48:55Z</dc:date>
    </item>
  </channel>
</rss>

