<?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 with AND condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861287#M71074</link>
    <description>&lt;P&gt;This wont work as Doubtful field doesn't have both values together, either it has Yes or No at time.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 06:30:43 GMT</pubDate>
    <dc:creator>Neha_2227</dc:creator>
    <dc:date>2021-11-19T06:30:43Z</dc:date>
    <item>
      <title>Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861266#M71068</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;In my dataset there is 1 flag which has values Y and N. There are few customers in Y and few in N but there are common customers as well which has both Y and N status. I want to show the common customers. Is it possible to achieve in front end with set analysis.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried this expression -&amp;nbsp;Sum({&amp;lt;Doubtful={'Yes'},Doubtful={'No'}&amp;gt;}Amount)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is giving me all the customers not the customers that have both doubtful Y and N.&lt;/P&gt;
&lt;P&gt;Any suggestions to do it in front end.&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Neha&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 15:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861266#M71068</guid>
      <dc:creator>Neha_2227</dc:creator>
      <dc:date>2021-11-20T15:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861268#M71069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/156386"&gt;@Neha_2227&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please give it a try with below expression&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sum(if(&lt;SPAN&gt;&amp;nbsp;Doubtful='Yes' and Doubtful='No' ,Amount))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 04:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861268#M71069</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2021-11-19T04:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861287#M71074</link>
      <description>&lt;P&gt;This wont work as Doubtful field doesn't have both values together, either it has Yes or No at time.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 06:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861287#M71074</guid>
      <dc:creator>Neha_2227</dc:creator>
      <dc:date>2021-11-19T06:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861288#M71075</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/156386"&gt;@Neha_2227&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Got it...&lt;/P&gt;
&lt;P&gt;Is it possible to share the sample data?&amp;nbsp; want to check if my second logic works or not&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 06:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861288#M71075</guid>
      <dc:creator>abhijitnalekar</dc:creator>
      <dc:date>2021-11-19T06:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861333#M71077</link>
      <description>&lt;P&gt;try below expression&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Doubtful={'Yes'} &amp;gt; * &amp;lt;Doubtful={'No'}&amp;gt;}Amount)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 08:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861333#M71077</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-11-19T08:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861747#M71112</link>
      <description>&lt;P&gt;Here you go&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 15:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861747#M71112</guid>
      <dc:creator>Neha_2227</dc:creator>
      <dc:date>2021-11-20T15:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861756#M71114</link>
      <description>&lt;P&gt;As you pointed out, each row only have Yes or No. An intersect between the two will not give any result. Consider looking at implicit set analysis using E(). I will look something&amp;nbsp; like this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Sum({&amp;lt;CustomerId =P({&amp;lt;Doubtful={'Y'} &amp;gt; } CustomerId) * &amp;lt;CustomerId =P({&amp;lt;Doubtful={'N'} &amp;gt; } CustomerId)&amp;gt;}Amount)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 23:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861756#M71114</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-11-20T23:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with AND condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861952#M71121</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please find the attached .QVF file&lt;/P&gt;
&lt;P&gt;Might be this will help you.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NitinK7_0-1637571891552.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67141iFD5D0A83F738FD9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NitinK7_0-1637571891552.png" alt="NitinK7_0-1637571891552.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 09:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-AND-condition/m-p/1861952#M71121</guid>
      <dc:creator>NitinK7</dc:creator>
      <dc:date>2021-11-22T09:06:41Z</dc:date>
    </item>
  </channel>
</rss>

