<?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 write this set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391692#M146113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want only where IsCommunityMember = 1, or IsSeller = 1, but not where both = 1, then use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;IsCommunityMember&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;={1}&amp;gt;/&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;IsSeller&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;={1}&amp;gt;} Distinct [OrderID])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 11:44:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-28T11:44:37Z</dc:date>
    <item>
      <title>How to write this set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391689#M146110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderId, IsCommunityMember,IsSeller&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1, 0,1&lt;/P&gt;&lt;P&gt;2,0,1&lt;/P&gt;&lt;P&gt;3,1,1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the question is I want to count the orders, the condition is If only the&amp;nbsp; order's Is communityMember =1 or IsSeller=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean even both 2 columns are =1, that order just can be only counted 1 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 02:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391689#M146110</guid>
      <dc:creator />
      <dc:date>2013-02-28T02:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391690#M146111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count({$&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;IsCommunityMember&lt;/SPAN&gt;={1}&amp;gt;+&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;IsSeller&lt;/SPAN&gt;={1}&amp;gt;} Distinct [OrderID])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 03:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391690#M146111</guid>
      <dc:creator />
      <dc:date>2013-02-28T03:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391691#M146112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donald, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply, as you suggested, it shows the right result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, one more related question, there you used distinct to remove the duplicated orders like Order 3, because Both 2 columns are 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I remove the distinct from you set analysis, it result also is 2 not 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the QVW, could you help me again?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 03:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391691#M146112</guid>
      <dc:creator />
      <dc:date>2013-02-28T03:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391692#M146113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want only where IsCommunityMember = 1, or IsSeller = 1, but not where both = 1, then use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;IsCommunityMember&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;={1}&amp;gt;/&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;IsSeller&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;={1}&amp;gt;} Distinct [OrderID])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 11:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391692#M146113</guid>
      <dc:creator />
      <dc:date>2013-02-28T11:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391693#M146114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Donald,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I wanted is, the "1" at least raises in the Column IsCommunity or IsSeller at least 1 times, then take into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OrderId, IsCommunityMember,IsSeller&lt;/P&gt;&lt;P&gt;1, 0,1&lt;/P&gt;&lt;P&gt;2,0,1&lt;/P&gt;&lt;P&gt;3,1,1&lt;/P&gt;&lt;P&gt;4,0,0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for the above samle, we need to remove Order4, because there is no 1 in that 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2013 03:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391693#M146114</guid>
      <dc:creator />
      <dc:date>2013-03-02T03:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391694#M146115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that's where we started.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&amp;nbsp; I've included a sample of each of the set operators for you to compare.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2013 13:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-this-set-analysis/m-p/391694#M146115</guid>
      <dc:creator />
      <dc:date>2013-03-02T13:38:40Z</dc:date>
    </item>
  </channel>
</rss>

