<?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 other information in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843695#M296408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;customers = {"=Pol_no = info_no"}&amp;gt;}DISTINCT customers)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 16:12:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-07-09T16:12:17Z</dc:date>
    <item>
      <title>Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843694#M296407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to count the number of customers if the condition is met, but I don't get the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); 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;Pol_no&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;info_no&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;customers&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11223&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12515&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1233&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11223&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;105053&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;105053&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;if(Pol_no = info_no),count(distinct customers))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What else can I try to give me the answer of 2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843694#M296407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843695#M296408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;customers = {"=Pol_no = info_no"}&amp;gt;}DISTINCT customers)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843695#M296408</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843696#M296409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your above example, the answer should be 1, right? Only for the last row Pol_no = Info_no?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843696#M296409</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843697#M296410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if( Pol_no = info_no ,customers)&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if 'Customers' column contains the 'number of customers' then y do u want count again?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843697#M296410</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-07-09T16:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843698#M296411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or =Count(DISTINCT If(Pol_no = info_no,&amp;nbsp; customers))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843698#M296411</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843699#M296412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to count on front end then use Set expression as &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;sunindia&lt;/A&gt;‌ 's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843699#M296412</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-07-09T16:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843700#M296413</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;maybe you want to have 1 for total result.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843700#M296413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T16:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843701#M296414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;Pol_no=P(info_no)&amp;gt;} customers)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843701#M296414</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-07-09T16:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843702#M296415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. No the answer should be 2. it shouldn't look at the order of the values, if the number is in col 1 and in col 2 it should be counted. thus the answer should be 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11223 = 11223&lt;/P&gt;&lt;P&gt;105053= 105053&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843702#M296415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T16:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843703#M296416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a typo in your sample &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92422_Capture.PNG" style="height: 143px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843703#M296416</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843704#M296417</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;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({&amp;lt;customers = {"=Pol_no = info_no"}&amp;gt;}DISTINCT customers)&lt;/STRONG&gt; or&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Count(DISTINCT If(Pol_no = info_no,&amp;nbsp; customers))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843704#M296417</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843705#M296418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because the condition has to be met, so only some of the customers should be counted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843705#M296418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T16:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843706#M296419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attaching a sample to look at.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92429_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843706#M296419</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843707#M296420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried my answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Count({&amp;lt;Pol_no=P(info_no)&amp;gt;} customers)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843707#M296420</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2015-07-09T16:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843708#M296421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just did &lt;A _jive_internal="true" href="https://community.qlik.com/people/Stigchel"&gt;Piet&lt;/A&gt;‌ and it works like a charm &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843708#M296421</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843709#M296422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, it workes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:54:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843709#M296422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-09T16:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count based on other information</title>
      <link>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843710#M296423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 16:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-based-on-other-information/m-p/843710#M296423</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-09T16:55:41Z</dc:date>
    </item>
  </channel>
</rss>

