<?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: 'AND' and 'OR' operators in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107514#M509762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)=count(Id)"}&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Searches &lt;/STRONG&gt;for those&lt;STRONG&gt; Titles&lt;/STRONG&gt; for which count(Id) for Status1='N/A' : &lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: 'courier new', courier; font-weight: inherit;"&gt;count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id),&lt;/SPAN&gt;is equal to &lt;SPAN style="font-family: 'courier new', courier;"&gt;count(Id)&lt;/SPAN&gt;, i.e. - in other word there is no other Status1 member (except for 'N/A') for that title, else the counts would not match. And that was the first check need to be done by the OP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 08:30:58 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-09-26T08:30:58Z</dc:date>
    <item>
      <title>'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107505#M509753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need help in set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which looks like below. I need to get the count of "Title" where the following conditions satisfy for "Title":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Title&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Status 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Status 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;N/A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;N/A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;WILL NOT DO&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;APPROVED&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;AA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;APPROVED&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Status 1 is "N/A") or (Status 1 is "WILL NOT DO" and Status 2 is "APPROVED").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means, if the "Title" has Status 1 as "N/A" and there are no other rows with the same "Title", then this should be counted as 1. And therefore my result is 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are more than one row with same "Title",&amp;nbsp; then two things apply here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; the query has to check if Status 1 is "N/A"&amp;nbsp; for all rows. If Yes, then count this as 1. If No, then do the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; If few rows have Status 1 as "N/A"&amp;nbsp; and few have Status 1 as "WILL NOT DO", then the query should check if Status 2 is "APPROVED" for rows which have Status 1 as "WILL NOT DO". If all these conditions satisfy then count this as 1 for that particular "Title", else don't count. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example above, the expression should return 1 as the result .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following expression, but this isn't giving me the right results. Or can I achieve this using "If" statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({$&amp;lt;[Status 1]={"N/A"}&amp;gt; , [Status 1]={"WILL NOT DO"}&amp;gt; * &lt;/STRONG&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;lt;[Status 2]={"APPROVED"}&amp;gt;} DISTINCT Title)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 13:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107505#M509753</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-25T13:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107506#M509754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody got a chance to look into this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107506#M509754</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-25T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107507#M509755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use "+" as OR...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;[Status 1]={"N/A"}&amp;gt; , [Status 1]={"WILL NOT DO"}&amp;gt; * &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;lt;[Status 2]={"APPROVED"}&amp;gt;} DISTINCT Title)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to this&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;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Count({$&amp;lt;[Status 1]={"N/A"}&amp;gt; + &amp;lt;[Status 1]={"WILL NOT DO"}&amp;gt; * &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;lt;[Status 2]={"APPROVED"}&amp;gt;} DISTINCT Title)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&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;&lt;STRONG style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&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;&lt;STRONG style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;HTH,&lt;/STRONG&gt;&lt;/STRONG&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;&lt;STRONG style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;John&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107507#M509755</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2018-09-25T16:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107508#M509756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the example I have provided above, the expression works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the new set of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Id, Title, Status1, Status2&lt;/P&gt;&lt;P&gt;1, Test1, N/A, N/A&lt;/P&gt;&lt;P&gt;2, Test1, WILL NOT DO, APPROVED&lt;/P&gt;&lt;P&gt;3, Test2, N/A, N/A&lt;/P&gt;&lt;P&gt;4, Test2, WILL NOT DO, APPROVED&lt;/P&gt;&lt;P&gt;5, Test3, WILL NOT DO, APPROVED&lt;/P&gt;&lt;P&gt;6, Test3, AA, N/A&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this data I expect the result to be 2 (Title, "Test3" hasn't fulfilled the condition). But, using your expression gives me 3 as the output. Can you help me with this new set of data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 05:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107508#M509756</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-26T05:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107509#M509757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, you could try something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Count(DISTINCT {&amp;lt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)=count(Id)"}&amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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; +&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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;&amp;nbsp; &amp;lt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)&amp;gt;0"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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; *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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;&amp;nbsp;&amp;nbsp; &amp;lt;Title={"=count( {&amp;lt;Status1={'WILL NOT DO'}&amp;gt;}Id)=count({&amp;lt;Status2={'APPROVED'}&amp;gt;}Id)"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&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; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }Title&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 06:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107509#M509757</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-26T06:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107510#M509758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Apoorva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the new data set, I've come up with the following If-statement:&lt;/P&gt;&lt;P&gt;If(WildMatch(Aggr(Concat(Status1),Title),'*N/A*'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WildMatch(Aggr(Concat(Status1),Title),'*WILL NOT DO*'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WildMatch(Aggr(Concat(Status2),Title),'*APPROVED*'),Count(distinct Title)),&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; Count(distinct Title)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only downpart of it, is that it needs the dimension Title to function. (The Aggr function gives a concat string per title)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ANDOR.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214466_ANDOR.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The first table is just the data set, &lt;/P&gt;&lt;P&gt;The second displays the result, but as mentioned, needs the Title dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 06:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107510#M509758</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2018-09-26T06:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107511#M509759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me a quick rundown on how the following works exactly:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)=count(Id)"} &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 07:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107511#M509759</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2018-09-26T07:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107512#M509760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a KPI (just a text box) to display this result. Hence would require the expression to work without adding any dimension. But this was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 08:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107512#M509760</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-26T08:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107513#M509761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works as expected. Thanks a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had never tried this kind of expression in set analysis. Would be great if you could explain that piece of code as mentioned by Tim!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 08:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107513#M509761</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-26T08:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107514#M509762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)=count(Id)"}&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Searches &lt;/STRONG&gt;for those&lt;STRONG&gt; Titles&lt;/STRONG&gt; for which count(Id) for Status1='N/A' : &lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: 'courier new', courier; font-weight: inherit;"&gt;count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id),&lt;/SPAN&gt;is equal to &lt;SPAN style="font-family: 'courier new', courier;"&gt;count(Id)&lt;/SPAN&gt;, i.e. - in other word there is no other Status1 member (except for 'N/A') for that title, else the counts would not match. And that was the first check need to be done by the OP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 08:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107514#M509762</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-26T08:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107515#M509763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the info! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 08:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107515#M509763</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2018-09-26T08:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107516#M509764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to Tresesco's explanation, I stumbled upon a possible issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the following scenario &lt;A href="https://community.qlik.com/qlik-users/26418"&gt;tresesco&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/219207"&gt;apoorvasd&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Id, Title, Status1, Status2&lt;/P&gt;&lt;P&gt;1, Test1, N/A, N/A&lt;/P&gt;&lt;P&gt;2, Test1, WILL NOT DO, APPROVED&lt;/P&gt;&lt;P&gt;3, Test2, N/A, N/A&lt;/P&gt;&lt;P&gt;4, Test2, WILL NOT DO, N/A&lt;/P&gt;&lt;P&gt;5, Test2, N/A, APPROVED&lt;/P&gt;&lt;P&gt;6, Test3, WILL NOT DO, APPROVED&lt;/P&gt;&lt;P&gt;7, Test3, AA, N/A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your result should be 1 in this case.&lt;/P&gt;&lt;P&gt;Test1 is OK.&lt;/P&gt;&lt;P&gt;Test2 is not OK. (Has N/A and WILL NOT DO, but no APPROVED on the same row)&lt;/P&gt;&lt;P&gt;Test3 is not OK. (Has no N/A as Status1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through Tresesco's measure, your result is 2 as he checks for the count of WILL NOT DO and APPROVED.&lt;/P&gt;&lt;P&gt;His measure will let Test2 through while it shouldn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if this is a possible scenario, but just thought I'd raise the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 08:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107516#M509764</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2018-09-26T08:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107517#M509765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tim. You are right. This is why we need to test with more such possible scenarios. The check has to be there at the&lt;STRONG&gt; Id&lt;/STRONG&gt; level instead. A small correction should work I guess, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT {&amp;lt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)=count(Id)"}&amp;gt;&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; +&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;&amp;nbsp; &amp;lt;Title={"=count( {&amp;lt;Status1={'N/A'}&amp;gt;}Id)&amp;gt;0"}&amp;gt;&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; *&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;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/SPAN&gt;={"=count( {&amp;lt;Status1={'WILL NOT DO'}&amp;gt;}Id)=count({&amp;lt;Status2={'APPROVED'}&amp;gt;}Id)"}&amp;gt;&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; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }Title&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I might have to wait till you come up with another glitch for final smiley.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 09:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107517#M509765</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-09-26T09:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107518#M509766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hehe, just trying to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it should work with the correction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The smiley is final &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 09:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107518#M509766</guid>
      <dc:creator>timpoismans</dc:creator>
      <dc:date>2018-09-26T09:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107519#M509767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the explanation! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107519#M509767</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-28T08:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107520#M509768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for coming up with this possibility. This was also the case in my data set. Hence altered my expression as suggested by Tresesco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107520#M509768</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-28T08:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: 'AND' and 'OR' operators in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107521#M509769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 08:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-and-OR-operators-in-Set-Analysis/m-p/107521#M509769</guid>
      <dc:creator>apoorvasd</dc:creator>
      <dc:date>2018-09-28T08:42:48Z</dc:date>
    </item>
  </channel>
</rss>

