<?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 AND in set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417752#M95375</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;suppose I got a field F with the following values V1, V2, V3, V4, and V5&lt;BR /&gt;Suppose the user selects V1, and V2 then&lt;BR /&gt;I want to sum the sales where Client has both V1 and V2 rows&lt;BR /&gt;suppose Client C1 has rows with values V1, and V2 under F&lt;BR /&gt;and another&amp;nbsp; client has only V1 rows then this client should be excluded&lt;/P&gt;
&lt;P&gt;if I use sum({&amp;lt;F={V1,V2}&amp;gt; sales) then C1, and C2 will appear in the chart wheras I want only C2 to be included in the calculation&lt;BR /&gt;&lt;BR /&gt;kindly advise on how to accomplish this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 13:55:45 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2024-02-12T13:55:45Z</dc:date>
    <item>
      <title>AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417752#M95375</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;suppose I got a field F with the following values V1, V2, V3, V4, and V5&lt;BR /&gt;Suppose the user selects V1, and V2 then&lt;BR /&gt;I want to sum the sales where Client has both V1 and V2 rows&lt;BR /&gt;suppose Client C1 has rows with values V1, and V2 under F&lt;BR /&gt;and another&amp;nbsp; client has only V1 rows then this client should be excluded&lt;/P&gt;
&lt;P&gt;if I use sum({&amp;lt;F={V1,V2}&amp;gt; sales) then C1, and C2 will appear in the chart wheras I want only C2 to be included in the calculation&lt;BR /&gt;&lt;BR /&gt;kindly advise on how to accomplish this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 13:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417752#M95375</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-02-12T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417756#M95376</link>
      <description>&lt;P&gt;Sounds to me like "Customers who bought product A and B". Have a &lt;A href="https://qlik-binom-net.translate.goog/training/qlik-cookbook/design/set-analysis/p-und-e/?_x_tr_sl=de&amp;amp;_x_tr_tl=en&amp;amp;_x_tr_hl=de&amp;amp;_x_tr_pto=wapp" target="_blank" rel="noopener"&gt;look at this post&lt;/A&gt; (translated from German).&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 14:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417756#M95376</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-02-12T14:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417759#M95377</link>
      <description>&lt;P&gt;to a certain extent yes&lt;BR /&gt;but in my case I may select more than 2 values&lt;BR /&gt;I know I need to use the intersection instead of union&lt;BR /&gt;but I need to make the set analysis syntax dynamic&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 14:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417759#M95377</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-02-12T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417797#M95379</link>
      <description>&lt;P&gt;managed to create a dynamic set analysis with intersection logic&lt;BR /&gt;sum({&amp;lt; $(=Concat(distinct 'F={[' &amp;amp; F,']}&amp;gt;*&amp;lt;') &amp;amp; ']}')&amp;gt;} sales)&lt;BR /&gt;here if the user selects values V1, V2, and V3&lt;BR /&gt;the&amp;nbsp;&lt;STRONG&gt;$(=Concat(distinct 'F={[' &amp;amp; F,']}&amp;gt;*&amp;lt;') &amp;amp; ']}')&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;returns&lt;BR /&gt;&amp;lt;F={v1}&amp;gt;*&amp;lt;F={v2}&amp;gt;*&amp;lt;F={v3}&amp;gt;&lt;BR /&gt;and so on&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 15:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417797#M95379</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-02-12T15:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417798#M95380</link>
      <description>&lt;P&gt;Out of curiosity, does that actually work? Intuitively, I would expect it to return an empty set, since no rows are at the intersect of F=v1 and F=v2 (each row has only one F value). I would have expected this to require the p() operator.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 15:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417798#M95380</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2024-02-12T15:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417852#M95385</link>
      <description>&lt;P&gt;Yes it works&lt;/P&gt;
&lt;P&gt;Very similar to the example of customers who bought both products A and B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 18:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417852#M95385</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-02-12T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: AND in set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417853#M95386</link>
      <description>&lt;P&gt;The filter conditions with the intersection is built based on what the user selects which are in the P set (set of possible values)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 18:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/AND-in-set-analysis/m-p/2417853#M95386</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2024-02-12T18:23:21Z</dc:date>
    </item>
  </channel>
</rss>

