<?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: How to make a count on expression based on a formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-a-count-on-expression-based-on-a-formula/m-p/1445693#M433258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression, Wrong with extra comma, May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;T_PREM_TYPE={'N','R'}&amp;gt;} T_POL_NO) - Count({&amp;lt;T_PREM_TYPE={'C'}&amp;gt;} T_POL_NO)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Nov 2017 07:33:44 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-11-23T07:33:44Z</dc:date>
    <item>
      <title>How to make a count on expression based on a formula</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-count-on-expression-based-on-a-formula/m-p/1445692#M433257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one scenario wherein I need to get a count based on the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;N - 10&lt;/P&gt;&lt;P&gt;R - 5&lt;/P&gt;&lt;P&gt;C - 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula to get the count will be (N + R - C) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count(DISTINCT{&amp;lt;T_PREM_TYPE={'N','R'}&amp;gt;}, T_POL_NO))- Count({&amp;lt;T_PREM_TYPE={'C'}&amp;gt;}, T_POL_NO)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values N, R, C is T_PREM_TYPE&lt;/P&gt;&lt;P&gt;T_POL_NO is the field value i need to do the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 07:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-count-on-expression-based-on-a-formula/m-p/1445692#M433257</guid>
      <dc:creator>pashok75</dc:creator>
      <dc:date>2017-11-23T07:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a count on expression based on a formula</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-count-on-expression-based-on-a-formula/m-p/1445693#M433258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression, Wrong with extra comma, May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;T_PREM_TYPE={'N','R'}&amp;gt;} T_POL_NO) - Count({&amp;lt;T_PREM_TYPE={'C'}&amp;gt;} T_POL_NO)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 07:33:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-count-on-expression-based-on-a-formula/m-p/1445693#M433258</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-23T07:33:44Z</dc:date>
    </item>
  </channel>
</rss>

