<?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 on IF Condition - PLZ HELP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/COUNT-on-IF-Condition-PLZ-HELP/m-p/518516#M193628</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;I want to identify NEW COPPER count based on the condition&amp;nbsp; when CONNECT DATE&amp;nbsp; &amp;gt;= RFS_DATE + 10 and ENTITY_TYPE = 'Copper' . The NEW COPPER count is mapped to chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;written code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT (IF ((( Date(Date(Date#(REGION.RFS_DATE, 'MM-DD-YYYY'), 'MM-DD-YYYY') + 10, 'MM-DD-YYYY')) &amp;lt;= SERVICE_TRACKING.CONNECT_DATE&lt;/P&gt;&lt;P&gt;AND SERVICE_TRACKING.ENTITY_TYPE = 'Copper', (SERVICE_TRACKING.ENTITY_TYPE)))&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have attached the report screenshot document for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also identify TOTAL COPPER Count based on one more filter condition ie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (SERVICE_TRACKING.ENTITY_TYPE = 'Copper', (SERVICE_TRACKING.ENTITY_TYPE)). The TOTAL COPPER count is mapped to chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is, When i click on the NEW COPPER option in a list box it would populate NEW COPPER and TOTAL COPPER count. Here the count should be SAME for both NEW AND TOTAL COPPER. I am not getting the desired result. In the atached screen NEW COPPER is 8 AND TOTAL COPPER is 7. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the value should be 7, not sure where the issue is.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2013 12:29:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-24T12:29:02Z</dc:date>
    <item>
      <title>COUNT on IF Condition - PLZ HELP</title>
      <link>https://community.qlik.com/t5/QlikView/COUNT-on-IF-Condition-PLZ-HELP/m-p/518516#M193628</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;I want to identify NEW COPPER count based on the condition&amp;nbsp; when CONNECT DATE&amp;nbsp; &amp;gt;= RFS_DATE + 10 and ENTITY_TYPE = 'Copper' . The NEW COPPER count is mapped to chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;written code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT (IF ((( Date(Date(Date#(REGION.RFS_DATE, 'MM-DD-YYYY'), 'MM-DD-YYYY') + 10, 'MM-DD-YYYY')) &amp;lt;= SERVICE_TRACKING.CONNECT_DATE&lt;/P&gt;&lt;P&gt;AND SERVICE_TRACKING.ENTITY_TYPE = 'Copper', (SERVICE_TRACKING.ENTITY_TYPE)))&lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have attached the report screenshot document for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also identify TOTAL COPPER Count based on one more filter condition ie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (SERVICE_TRACKING.ENTITY_TYPE = 'Copper', (SERVICE_TRACKING.ENTITY_TYPE)). The TOTAL COPPER count is mapped to chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is, When i click on the NEW COPPER option in a list box it would populate NEW COPPER and TOTAL COPPER count. Here the count should be SAME for both NEW AND TOTAL COPPER. I am not getting the desired result. In the atached screen NEW COPPER is 8 AND TOTAL COPPER is 7. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the value should be 7, not sure where the issue is.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 12:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/COUNT-on-IF-Condition-PLZ-HELP/m-p/518516#M193628</guid>
      <dc:creator />
      <dc:date>2013-07-24T12:29:02Z</dc:date>
    </item>
  </channel>
</rss>

