<?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 for specific values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462774#M1159524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Overall Satisfaction']={'Extremely Satisfied','Satisfied'},department={'Inpatient'}&amp;gt;} department) / count({&amp;lt;department={'Inpatient'}&amp;gt;}department)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe you want to count Satisfied or Extremely Satisfied for both departments and then divide by the count of department Inpatient:&lt;/P&gt;&lt;P&gt; count({&amp;lt;[Overall Satisfaction']={'Extremely Satisfied','Satisfied'&amp;gt;} department) / count({&amp;lt;department={'Inpatient'}&amp;gt;}department)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Dec 2012 10:10:03 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2012-12-23T10:10:03Z</dc:date>
    <item>
      <title>Count for specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462773#M1159523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;department&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Overall Satisfaction&lt;/P&gt;&lt;P&gt;---------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------------------------------&lt;/P&gt;&lt;P&gt;Inpatient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extremely Satisfied&lt;/P&gt;&lt;P&gt;Inpatient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Satisfied&lt;/P&gt;&lt;P&gt;Outpatient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dissatisfied&lt;/P&gt;&lt;P&gt;Inpatient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dissatisfied&lt;/P&gt;&lt;P&gt;Outpatient&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Satisfied&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;P&gt;I want to get the following formula ( Extremely satisfied + Satisfied) of inpatient / Count( department = 'Inpatient)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2012 07:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462773#M1159523</guid>
      <dc:creator />
      <dc:date>2012-12-23T07:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count for specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462774#M1159524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Overall Satisfaction']={'Extremely Satisfied','Satisfied'},department={'Inpatient'}&amp;gt;} department) / count({&amp;lt;department={'Inpatient'}&amp;gt;}department)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe you want to count Satisfied or Extremely Satisfied for both departments and then divide by the count of department Inpatient:&lt;/P&gt;&lt;P&gt; count({&amp;lt;[Overall Satisfaction']={'Extremely Satisfied','Satisfied'&amp;gt;} department) / count({&amp;lt;department={'Inpatient'}&amp;gt;}department)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2012 10:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462774#M1159524</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-23T10:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count for specific values</title>
      <link>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462775#M1159525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks dude your a life saver &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2012 14:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-for-specific-values/m-p/462775#M1159525</guid>
      <dc:creator />
      <dc:date>2012-12-23T14:50:07Z</dc:date>
    </item>
  </channel>
</rss>

