<?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: Set Analysis 'or' condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160329#M886610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option could be this, in addition to &lt;A href="https://community.qlik.com/people/effinty2112"&gt;effinty2112&lt;/A&gt;‌'s solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;resultat_1 = {''}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000; font-size: 13.3333px;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;provenance = {'xx'}&amp;gt; + &amp;lt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;resultat_1 = {''}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, &lt;/SPAN&gt;provenance2 = {'yy'}&amp;gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;test_Num)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 17:40:59 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-07T17:40:59Z</dc:date>
    <item>
      <title>Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160326#M886605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, &lt;/P&gt;&lt;P&gt;i want to do :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;count(resultat_1={''} &lt;STRONG&gt;AND &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;provenance ={'xx'} &lt;STRONG&gt;or&lt;/STRONG&gt; provenance2={'yy'}&lt;STRONG&gt;)&lt;/STRONG&gt;,test_Num)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;how can i do that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;thank you&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160326#M886605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160327#M886607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like tis&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;resultat_1={''} , &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-style: inherit; font-size: 10pt;"&gt;provenance2 = {'xx' or 'yy'}&lt;/SPAN&gt;&amp;gt;} test_num)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Count({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;resultat_1={''} , &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;provenance2 = {'xx'} or &lt;STRONG style="color: #3d3d3d; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;provenance2 = {&lt;/STRONG&gt;'yy'}&lt;/SPAN&gt;&amp;gt;} test_num)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Count({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;resultat_1={''} , &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;provenance2 = {'xx'} or &lt;STRONG style="color: #3d3d3d; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;{&lt;/STRONG&gt;'yy'}&lt;/SPAN&gt;&amp;gt;} test_num)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;But, your expression does seems two fields are different, Can i know these two diff&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;provenance &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;provenance2 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160327#M886607</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-07T15:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160328#M886609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;resultat_1={''}&lt;/SPAN&gt;&amp;gt;*(&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;provenance ={'xx'}&lt;/SPAN&gt;&amp;gt;+&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;provenance2={'yy'}&amp;gt;&lt;/SPAN&gt;)}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;test_Num)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Good Luck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Andrew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160328#M886609</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-07T15:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160329#M886610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another option could be this, in addition to &lt;A href="https://community.qlik.com/people/effinty2112"&gt;effinty2112&lt;/A&gt;‌'s solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;resultat_1 = {''}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #ff0000; font-size: 13.3333px;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;provenance = {'xx'}&amp;gt; + &amp;lt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;resultat_1 = {''}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, &lt;/SPAN&gt;provenance2 = {'yy'}&amp;gt;}&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;test_Num)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 17:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160329#M886610</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-07T17:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160330#M886612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks &lt;A _jive_internal="true" data-avatarid="12574" data-externalid="" data-online="false" data-presence="null" data-userid="171708" data-username="stalwar1" href="https://community.qlik.com/people/stalwar1" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f2f2f2;"&gt;Sunny T&lt;/A&gt;. but its not working .......... any other idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 06:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160330#M886612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T06:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160331#M886614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its 2 differents things.&lt;/P&gt;&lt;P&gt;resultat_1 has to be empty and (field_1 should be {'xxxx','yyyy' } or field_2 should be&lt;SPAN style="font-size: 13.3333px;"&gt; {'xxxx','yyyy' }&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 06:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160331#M886614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160332#M886616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where this isn't working? Also share what the output you are expecting to see&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 16:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160332#M886616</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T16:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis 'or' condition</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160333#M886618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachel,&lt;/P&gt;&lt;P&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; Have you tried Sunny's suggestion or mine? They should both give the same, hopefully correct, answer. If they return a value which is not what you expect please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you're not put off by the set arithmetic. You have three conditions: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A = resultat_1={''}&lt;/P&gt;&lt;P&gt;B = provenance ={'xx'}&lt;/P&gt;&lt;P&gt;C = provenance2={'yy'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statements inside the &amp;lt;&amp;gt; brackets define sets, collections of records. When Sunny writes &amp;lt;A,B&amp;gt; then this is a set where conditions A and B are BOTH true and when his two sets are written with the operator '+' such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;A,B&amp;gt;+&amp;lt;A,C&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then we're looking at the union of the two sets that he defined in the brackets. Overall we're picking the set where&amp;nbsp; (A and B) or (A and C) are true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mine is written differently but it means the same. the '*' means intersection of two sets i.e. the records that belong to both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A and (B or C) is the way I wrote it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way you get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Venn.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136846_Venn.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I've not bored you with something you're already familiar with!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 16:28:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-or-condition/m-p/1160333#M886618</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-08T16:28:29Z</dc:date>
    </item>
  </channel>
</rss>

