<?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 count funtion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299408#M1199287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i have table like this&lt;/P&gt;&lt;P&gt;AGENCY [CLIENT NAME] TYPE TERM PROD&lt;/P&gt;&lt;P&gt;TEST1 ABC OWN CA AA&lt;/P&gt;&lt;P&gt;TEST1 DEF SUB CR AA&lt;/P&gt;&lt;P&gt;TEST1 abc OWN CR BB&lt;/P&gt;&lt;P&gt;TEST1 GHI SUB CA AA&lt;/P&gt;&lt;P&gt;I want to get the no of CLIENT for a particuler TYPE based on term&lt;/P&gt;&lt;P&gt;formula which i put is COUNT({&amp;lt;Type={"OWN"},TERM={"*"}&amp;gt;} DISTINCT UPPER([Client Name]))&lt;/P&gt;&lt;P&gt;the result which i got was 1, what i want was 2, ie TYPE ='OWN' and TERM = 'CA' and 'CR' here even though the customer is same PROD is different so i have to consider it as two client&lt;/P&gt;&lt;P&gt;request your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jan 2011 16:32:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-11T16:32:11Z</dc:date>
    <item>
      <title>count funtion</title>
      <link>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299408#M1199287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;i have table like this&lt;/P&gt;&lt;P&gt;AGENCY [CLIENT NAME] TYPE TERM PROD&lt;/P&gt;&lt;P&gt;TEST1 ABC OWN CA AA&lt;/P&gt;&lt;P&gt;TEST1 DEF SUB CR AA&lt;/P&gt;&lt;P&gt;TEST1 abc OWN CR BB&lt;/P&gt;&lt;P&gt;TEST1 GHI SUB CA AA&lt;/P&gt;&lt;P&gt;I want to get the no of CLIENT for a particuler TYPE based on term&lt;/P&gt;&lt;P&gt;formula which i put is COUNT({&amp;lt;Type={"OWN"},TERM={"*"}&amp;gt;} DISTINCT UPPER([Client Name]))&lt;/P&gt;&lt;P&gt;the result which i got was 1, what i want was 2, ie TYPE ='OWN' and TERM = 'CA' and 'CR' here even though the customer is same PROD is different so i have to consider it as two client&lt;/P&gt;&lt;P&gt;request your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 16:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299408#M1199287</guid>
      <dc:creator />
      <dc:date>2011-01-11T16:32:11Z</dc:date>
    </item>
    <item>
      <title>count funtion</title>
      <link>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299409#M1199288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Get rid of the distinct. According to your formula, you want only distinct upper case values, ABC is the same as abc, so it counts as one. If you remove the upper and kept distinct, you may still get two, but I don't know if distinct is case sensitive.&lt;/P&gt;&lt;P&gt;You could also change it to:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;COUNT({&amp;lt;Type={"OWN"}&amp;gt;} DISTINCT TERM)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;I don't think you need the TERM={'*'} unless you have null values or something because TERM={'*'} is implied. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 16:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299409#M1199288</guid>
      <dc:creator />
      <dc:date>2011-01-11T16:43:10Z</dc:date>
    </item>
    <item>
      <title>AW:count funtion</title>
      <link>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299410#M1199289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the following....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your filter on Type will give you only two records:&lt;/P&gt;&lt;P&gt;AGENCY [CLIENT NAME] TYPE TERM PROD&lt;/P&gt;&lt;P&gt;TEST1 ABC OWN CA AA&lt;/P&gt;&lt;P&gt;TEST1 abc OWN CR BB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your convertion by UPPER will "transform" it like this:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;AGENCY [CLIENT NAME] TYPE TERM PROD&lt;/P&gt;&lt;P&gt;TEST1 ABC OWN CA AA&lt;/P&gt;&lt;P&gt;TEST1 ABC OWN CR BB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your DISTINCT count of "Client Name" will see only one Client: ABC!&lt;/P&gt;&lt;P&gt;Try to count without distinct.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 16:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299410#M1199289</guid>
      <dc:creator />
      <dc:date>2011-01-11T16:49:57Z</dc:date>
    </item>
    <item>
      <title>count funtion</title>
      <link>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299411#M1199290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I try and works&lt;/P&gt;&lt;P&gt;count({&amp;lt;Type={"OWN"}&amp;gt;} Distinct Client)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 16:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299411#M1199290</guid>
      <dc:creator />
      <dc:date>2011-01-11T16:50:07Z</dc:date>
    </item>
    <item>
      <title>count funtion</title>
      <link>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299412#M1199291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks NMilleram using upper because the CLIENT NAME is the same but by person entering the details some times enter the details in lower case.&lt;/P&gt;&lt;P&gt;i totally igonored this. i was concentrating on the CLIENT NAME. it works. thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 20:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-funtion/m-p/299412#M1199291</guid>
      <dc:creator />
      <dc:date>2011-01-11T20:17:13Z</dc:date>
    </item>
  </channel>
</rss>

