<?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 with multiple conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188220#M51562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this condition :&lt;/P&gt;&lt;P&gt;for a dimension brand:&lt;/P&gt;&lt;P&gt;Count(distinct if ( InvoicedQty&amp;gt;Target and YYYY=vYear ,Shop))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count shops that reach the target for all branches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jun 2010 05:39:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-15T05:39:20Z</dc:date>
    <item>
      <title>count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188220#M51562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this condition :&lt;/P&gt;&lt;P&gt;for a dimension brand:&lt;/P&gt;&lt;P&gt;Count(distinct if ( InvoicedQty&amp;gt;Target and YYYY=vYear ,Shop))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count shops that reach the target for all branches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 05:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188220#M51562</guid>
      <dc:creator />
      <dc:date>2010-06-15T05:39:20Z</dc:date>
    </item>
    <item>
      <title>count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188221#M51563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest trying the If() outside the Count() function. Something like the following:&lt;/P&gt;&lt;P style="MARGIN:0in 0in 10pt;"&gt;=If((InvoicedQty&amp;gt;Target) and (YYYY=vYear), Count(distinct Shop), 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;I hope that is helpful. Best regards,&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 05:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188221#M51563</guid>
      <dc:creator />
      <dc:date>2010-06-15T05:47:37Z</dc:date>
    </item>
    <item>
      <title>count with multiple conditions</title>
      <link>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188222#M51564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;My expression is working but what I would like to have is an additional line with the number shops for which the target is reached for all brands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Brands&lt;/TD&gt;&lt;TD&gt;reach target&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Brand 1&lt;/TD&gt;&lt;TD&gt;10 shops&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Brand 2&lt;/TD&gt;&lt;TD&gt;5 shops&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Would like to have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Brands&lt;/TD&gt;&lt;TD&gt;reach target&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Brand 1&lt;/TD&gt;&lt;TD&gt;10 shops&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Brand 2&lt;/TD&gt;&lt;TD&gt;5 shops&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;B&gt;reach target for brand 1 and 2&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;&lt;B&gt;3 Shops&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 06:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/count-with-multiple-conditions/m-p/188222#M51564</guid>
      <dc:creator />
      <dc:date>2010-06-15T06:49:28Z</dc:date>
    </item>
  </channel>
</rss>

