<?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 If Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336911#M124213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a small Question this time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an table with Employee, Customer ID, Date of visit and a Column "X". Looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee - Customer ID - Date of Visit - X&lt;/P&gt;&lt;P&gt;hhhhh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 676762&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01.06.2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;jjjjjj&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 586566&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02.06.2012.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Column "X" contains +, -, K or P. In a straight table i want to add an calculated field that counts the "+" or "-"....(One customer can have more than 1 visits).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Question: How the formula looks like to count for every Customer the amounts of "+", "-"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2012 07:00:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-05T07:00:19Z</dc:date>
    <item>
      <title>Count If Question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336911#M124213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a small Question this time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an table with Employee, Customer ID, Date of visit and a Column "X". Looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Employee - Customer ID - Date of Visit - X&lt;/P&gt;&lt;P&gt;hhhhh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 676762&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01.06.2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&lt;/P&gt;&lt;P&gt;jjjjjj&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 586566&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02.06.2012.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Column "X" contains +, -, K or P. In a straight table i want to add an calculated field that counts the "+" or "-"....(One customer can have more than 1 visits).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Question: How the formula looks like to count for every Customer the amounts of "+", "-"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336911#M124213</guid>
      <dc:creator />
      <dc:date>2012-06-05T07:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336912#M124214</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;Did you try using set analysis? In a new chart, type straight table, the dimension should be Customer ID, and the expression something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Count({&amp;lt; X = {'+'} &amp;gt;} [Customer ID])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; white-space: pre; background-color: #ffffff;"&gt;Count({&amp;lt; X = {'-'} &amp;gt;} [Customer ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336912#M124214</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-05T07:29:34Z</dc:date>
    </item>
    <item>
      <title>Count If Question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336913#M124215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately it doesnt work for me. Your formula gives me only "1" as a value. But in my table are 13 "+" values for this customer. The fornula should show me the value 13 for this customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336913#M124215</guid>
      <dc:creator />
      <dc:date>2012-06-05T07:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count If Question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336914#M124216</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;Try instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Count({&amp;lt; X = {'+'} &amp;gt;} X)&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336914#M124216</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-05T07:49:05Z</dc:date>
    </item>
    <item>
      <title>Count If Question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336915#M124217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 08:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-If-Question/m-p/336915#M124217</guid>
      <dc:creator />
      <dc:date>2012-06-05T08:00:38Z</dc:date>
    </item>
  </channel>
</rss>

