<?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: Only count where this not that in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949689#M959110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;See if this works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;=Count({&amp;lt;Site_Id_Key= p({&amp;lt;Part_Number={'45133403129', '45133403130', '45133405029'}&amp;gt;}&lt;STRONG style="font-size: 13.3333px;"&gt;Site_Id_Key&lt;/STRONG&gt;) * e({&amp;lt;Part_Number={'1021931', '8000826', '45133308034', '45133308530'}&amp;gt;} Site_Id_Key)&amp;gt;}Distinct Site_Id_Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2015 00:37:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-11-06T00:37:26Z</dc:date>
    <item>
      <title>Only count where this not that</title>
      <link>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949688#M959109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, This returns (count) 1 for Site when p Part_Number exist at a site but -p does not.&amp;nbsp; It returns 0 otherwise.&amp;nbsp; I would like to include an IF statement to ONLY return a value if p exists but -p does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially, I am not interested in the 10,000 site_id_key where both items exist (Or p does not) - only the 25 where p exists but -p does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Site_Id_Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Part_Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'45133403129',&lt;BR /&gt; '45133403130',&lt;BR /&gt; '45133405029'&lt;BR /&gt; }&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt; Site_Id_Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;BR /&gt; - &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Part_Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={'1021931',&lt;BR /&gt; '8000826',&lt;BR /&gt; '45133308034',&lt;BR /&gt; '45133308530'&lt;BR /&gt; }&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt; Site_Id_Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Distinct&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Site_Id_Key&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 00:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949688#M959109</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-06T00:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Only count where this not that</title>
      <link>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949689#M959110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;See if this works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;=Count({&amp;lt;Site_Id_Key= p({&amp;lt;Part_Number={'45133403129', '45133403130', '45133405029'}&amp;gt;}&lt;STRONG style="font-size: 13.3333px;"&gt;Site_Id_Key&lt;/STRONG&gt;) * e({&amp;lt;Part_Number={'1021931', '8000826', '45133308034', '45133308530'}&amp;gt;} Site_Id_Key)&amp;gt;}Distinct Site_Id_Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style=": ; color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 00:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949689#M959110</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-06T00:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Only count where this not that</title>
      <link>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949690#M959111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bingo, thank you.&amp;nbsp; Looking for a job?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 00:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949690#M959111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-06T00:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Only count where this not that</title>
      <link>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949691#M959112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hahahaha no, not right now, but may be in the future &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 00:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-count-where-this-not-that/m-p/949691#M959112</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-06T00:44:27Z</dc:date>
    </item>
  </channel>
</rss>

