<?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 compound statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-compound-statement/m-p/1936246#M1219169</link>
    <description>&lt;P&gt;I would like to count number of persons over or equal to 18 with a distinct id.&lt;/P&gt;
&lt;P&gt;I have&lt;/P&gt;
&lt;P&gt;&amp;nbsp;=Count({&amp;lt;Age={"&amp;gt;=18"}&amp;gt;}Age) and&amp;nbsp;=Count(DISTINCT patient_id )&lt;/P&gt;
&lt;P&gt;I want a combine the statements to have one count statement&lt;/P&gt;
&lt;P&gt;something like =Count(DISTINCT patient_id&amp;nbsp; where Age&amp;gt;=18)&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 20:26:46 GMT</pubDate>
    <dc:creator>earlcool</dc:creator>
    <dc:date>2022-05-26T20:26:46Z</dc:date>
    <item>
      <title>count compound statement</title>
      <link>https://community.qlik.com/t5/QlikView/count-compound-statement/m-p/1936246#M1219169</link>
      <description>&lt;P&gt;I would like to count number of persons over or equal to 18 with a distinct id.&lt;/P&gt;
&lt;P&gt;I have&lt;/P&gt;
&lt;P&gt;&amp;nbsp;=Count({&amp;lt;Age={"&amp;gt;=18"}&amp;gt;}Age) and&amp;nbsp;=Count(DISTINCT patient_id )&lt;/P&gt;
&lt;P&gt;I want a combine the statements to have one count statement&lt;/P&gt;
&lt;P&gt;something like =Count(DISTINCT patient_id&amp;nbsp; where Age&amp;gt;=18)&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 20:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-compound-statement/m-p/1936246#M1219169</guid>
      <dc:creator>earlcool</dc:creator>
      <dc:date>2022-05-26T20:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: count compound statement</title>
      <link>https://community.qlik.com/t5/QlikView/count-compound-statement/m-p/1936387#M1219174</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Try like below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;patient_id={"=Age &amp;gt;=18"}&amp;gt;}DISTINCT patient_id)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;Age ={"&amp;gt;=18"}&amp;gt;}DISTINCT patient_id)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 08:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-compound-statement/m-p/1936387#M1219174</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-05-27T08:28:42Z</dc:date>
    </item>
  </channel>
</rss>

