<?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 counting only second scenario in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199260#M58265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;I have two fields A and B,&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;I want to say if A and B are null, then say 'no', and then if B is filled with data and if A is blank then, say 'yes'&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;And finally I want the count of only 'yes'&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;i used the below formula&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;=If(IsNull(A &amp;amp; B), 'no', Count(If(IsNull(A), 'yes')))&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;fyi... the first condition is must i cant ommit (If(IsNull(A &amp;amp; B), 'no')&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;But its showing the data of both no and yes.&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;can any one help me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Mar 2010 12:16:59 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2010-03-31T12:16:59Z</dc:date>
    <item>
      <title>counting only second scenario</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199260#M58265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;I have two fields A and B,&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;I want to say if A and B are null, then say 'no', and then if B is filled with data and if A is blank then, say 'yes'&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;And finally I want the count of only 'yes'&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;i used the below formula&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;=If(IsNull(A &amp;amp; B), 'no', Count(If(IsNull(A), 'yes')))&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;fyi... the first condition is must i cant ommit (If(IsNull(A &amp;amp; B), 'no')&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;But its showing the data of both no and yes.&lt;/P&gt;&lt;P style="margin: 0in 0in 10pt;"&gt;can any one help me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 12:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199260#M58265</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-03-31T12:16:59Z</dc:date>
    </item>
    <item>
      <title>counting only second scenario</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199261#M58266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could also do something like the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum( If ( IsNull(A) and IsNull(B), 0, if ( IsNull(A),1) ) )&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;rgrds&lt;/P&gt;&lt;P&gt;Anita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 12:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199261#M58266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-31T12:20:43Z</dc:date>
    </item>
    <item>
      <title>counting only second scenario</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199262#M58267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey cool dude... it works..thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 12:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199262#M58267</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-03-31T12:33:16Z</dc:date>
    </item>
    <item>
      <title>counting only second scenario</title>
      <link>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199263#M58268</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;hope this will work&lt;/P&gt;&lt;P&gt;If(IsNull(a &amp;amp; b), 'no',Count(If(IsNull(a), -1,'yes')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gud luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Mar 2010 12:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/counting-only-second-scenario/m-p/199263#M58268</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2010-03-31T12:57:11Z</dc:date>
    </item>
  </channel>
</rss>

