<?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-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423735#M157941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite what I meant. I will post an example tomorrow of how this can be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 22:42:39 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2014-06-25T22:42:39Z</dc:date>
    <item>
      <title>And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423729#M157935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;SPAN lang="EN" style="mso-ansi-language: EN;"&gt;Learn how to utilize And-Mode within your own QlikView application.&amp;nbsp; As described in the QlikView online help, by default, when making &lt;/SPAN&gt;multiple selections within a field or list box, the &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;selections that you make are interpreted as logical OR, which means that data &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;associated to &lt;SPAN style="text-decoration: underline;"&gt;any&lt;/SPAN&gt; of the selected field values will be shown in other &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;fields. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;For example, if you have two fields &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;or list boxes such as Customers and Products, and your question is ‘Show me all &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;customers that bought ProductA and ProductB’, QlikView, by default, will show &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;all Customers that bought ProductA OR ProductB OR Both such as in the example &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;below.&amp;nbsp; Notice that selecting both &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;EM&gt;‘Adihash Running Shoe’&lt;/EM&gt; and &lt;EM&gt;‘Aino Shoes’&lt;/EM&gt; from ProductName list box is returning &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;all Customers that bought either product or both.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt; &lt;IMG __jive_id="22152" alt="figure1.png" class="jive-image-thumbnail jive-image" height="307" src="https://community.qlik.com/legacyfs/online/22152_figure1.png" width="587" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;This is a valid return, however, &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;you may say ‘Actually, I want to see a list of Customers that bought BOTH &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;ProductA AND ProductB, not one or the other’; this is where you can leverage &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;And-Mode to get the results you want.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG __jive_id="22155" alt="figure2.png" class="jive-image-thumbnail jive-image" height="375" src="https://community.qlik.com/legacyfs/online/22155_figure2.png" width="599" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Notice the field andProductName &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;above, configured to utilize And-Mode - showing an ‘&amp;amp;’ in front of values &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;selected, and the results of the Customers field that bought both &lt;EM&gt;‘Adihash &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;EM&gt;Running Shoe’&lt;/EM&gt; and &lt;EM&gt;‘Aino Shoes’&lt;/EM&gt;.&amp;nbsp; The list &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;of Customers returned is much smaller than in the first example.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;You are already familiar with &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;QlikView’s associated model, meaning that any values you select will be &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;highlighted in the color Green, associated values with your selection will be &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;left in White, and anything not associated will be turned to Grey.&amp;nbsp; And-Mode allows for a forth color – Red.&amp;nbsp; By clicking onto a value in the And-Mode &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;field, and holding the mouse/CTRL button, the selected value will turn from &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Green to Red and will be preceded by a ‘!’ mark vs. a ‘&amp;amp;’ symbol.&amp;nbsp; This operation is effectively a NOT &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;operation.&amp;nbsp; Your question may now be, &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;‘Show me all Customers that bought ProductA AND bought ProductB but did NOT buy &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;ProductC’ such as in the example below.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22156" alt="figure3.png" class="jive-image-thumbnail jive-image" height="339" src="https://community.qlik.com/legacyfs/online/22156_figure3.png" width="610" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;To enable And-Mode, there are rules &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;that you must follow in order to leverage this function. Please refer to the &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Online Help in QlikView desktop for more information on requirements, however, &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;from a high-level view, you need to know the question you want to perform the &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;AND operation on – such as the examples we have been using so far:&amp;nbsp; 'I want to see all Customers that bought specific &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Products together'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In order to enable this, you need &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;to create a special table in QlikView that has 2 and only 2 fields.&amp;nbsp; The first field is the field you will be &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;linking on to your data, such as Customers. &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Since we want to find all Customers that bought specific products, we &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;need to have Customers in our And-Mode table. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The second field must be the field you want to perform the AND operation &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;on, in our case, it is Products.&amp;nbsp; This &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;field must not link to any field in your datastructure – in the example above, &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;we had aliased the field as andProductName vs. ProductName.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22157" alt="figure4.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/22157_figure4.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;n the video below, I had created a &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;QlikView application that was bringing in data from 5 tables: Customers, &lt;/SPAN&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Order_Header, Order_Details, Products, Categories, and Shippers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22158" alt="figure5.png" class="jive-image-thumbnail jive-image" height="405" src="https://community.qlik.com/legacyfs/online/22158_figure5.png" width="774" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN" style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt; mso-ansi-language: EN;"&gt;In order to create my And-Mode table, I had to create a temporary join table called andModeJoin, that I later dropped, that would link from Customer to Order_Header to Order_Details to Products so that I could have related values of Customer and Products.&amp;nbsp; I then created my And-Mode table to store the results of the andModeJoin temporary table and later dropped the temporary table.&amp;nbsp; This is how I did it in my Script – note that when creating your And-Mode table, you must use the Distinct qualifier when Loading fields:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;andModeJoin:&lt;BR /&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CustomerID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Customer&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; Customers;&lt;BR /&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; (andModeJoin)&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;OrderID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CustomerID&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; Order_Header;&lt;BR /&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; (andModeJoin)&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;ProductID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;OrderID&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; Order_Details;&lt;BR /&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; (andModeJoin)&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;ProductID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;ProductName&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; Products;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;andMode:&lt;BR /&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Distinct&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Customer&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;ProductName&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;andProductName&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&lt;BR /&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; andModeJoin;&lt;BR /&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; andModeJoin; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Once the And-Mode table is created, you need to add your AND field your QlikView document and turn on the option ‘And Mode’ in properties.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22159" alt="figure6.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/22159_figure6.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the following YouTube video:&amp;nbsp; &lt;A href="http://www.youtube.com/watch?v=Wg5Jgnki7yE"&gt;http://www.youtube.com/watch?v=Wg5Jgnki7yE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt; &lt;IFRAME frameborder="0" width="425" height="350" src="https://www.youtube.com/embed/Wg5Jgnki7yE" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 17:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423729#M157935</guid>
      <dc:creator>harvinderjohal</dc:creator>
      <dc:date>2012-09-19T17:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423730#M157936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Yes! That's exactly what I've been looking for ... thx for that really useful article!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Just one thing: is there a way to get the following result?&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;EM&gt;Show me all customers who bought the "Basket vest" and &lt;STRONG&gt;ANY &lt;/STRONG&gt;"*Shoes*" (wildcard search).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 07:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423730#M157936</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-06-04T07:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423731#M157937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian, regarding:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;EM style="color: #737373; font-family: Arial; font-size: 10pt; line-height: 1.5em;"&gt; and &lt;STRONG&gt;ANY &lt;/STRONG&gt;"*Shoes*" (wildcard search).&lt;/EM&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is similar.&amp;nbsp; My "Products" are disease names, and there are often a bunch of names that mean nearly the same thing (and ANY "*Diabetes Mellitus*").&amp;nbsp; The only thing I can think of that might work is to create another table called "PRODUCT_GROUP" that relates products to product group names.&amp;nbsp; Then you could extend his "andModeJoin" one more level to PRODUCT_GROUP_NAME.&amp;nbsp; The problem with this is it is pretty static.&amp;nbsp; I would like my users to be able to build these "ANY" groups on the fly, as you did, with "*Shoes*". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harvey, any thoughts?&lt;/P&gt;&lt;P&gt;Dana Ludwig, UCSF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 21:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423731#M157937</guid>
      <dc:creator />
      <dc:date>2014-06-25T21:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423732#M157938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harvey, that's a neat idea! Just a thought, but another way to achieve this result is to create an "AND" alternate state and a "NOT" alternate state. You can then catch values selected in list boxes in these states, build set analysis in variables (using set multiplication to achieve the ANDs and set subtraction to achieve the NOTs). That would achieve the same thing without any DM mods, no?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 21:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423732#M157938</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-06-25T21:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423733#M157939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the grouping (the business logic) would need to be done in the data model, in the script, in order to support this vs. on-the-fly by the users consuming the app.&amp;nbsp; It's a design thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 21:45:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423733#M157939</guid>
      <dc:creator>harvinderjohal</dc:creator>
      <dc:date>2014-06-25T21:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423734#M157940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think with Alternate States (Basket Analysis really), would still comprise an issue of either an AND or an OR among selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a retail data example, lets say for the 'Alternate State 1', an AND state, you selected 2 values of a product that customers could have bought.&amp;nbsp; What you are saying is show me ALL my customers that either bought product 1 and/or bought product 2 or bought both products.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Now lets say for the 'Alternate State 2', a NOT AND state, you selected 1 value of a product, product 3 that not part of the first list of products, that customers did not buy.&amp;nbsp; You would be asking 'Show me all customers that either bought product 1 and/or bought product 2 or bought both but did not buy product 3.&amp;nbsp; This would still not be a forced AND operation.&amp;nbsp; If you want to ask 'Show me all customers that bought product 1 AND product 2 together (not either separately) and also did not buy product 3', then you would need to follow the above data modeling example for forced AND operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 22:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423734#M157940</guid>
      <dc:creator>harvinderjohal</dc:creator>
      <dc:date>2014-06-25T22:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423735#M157941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite what I meant. I will post an example tomorrow of how this can be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 22:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423735#M157941</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-06-25T22:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423736#M157942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harvey, take a look at the attached--that's how you could accomplish AND/OR stuff with alternate states. One advantage of your approach over mine is that your ANDs are linked to the data model so selections reflect in list boxes. My approach is primarily meant for charts. On the other hand, one advantage of mine over yours is that wildcard searching in either list box is possible. And no DM changes. Just a thought. Both approaches have their merits IMO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 02:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423736#M157942</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-06-26T02:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423737#M157943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your post Vlad !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your exemple is simply perfect.&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I used&lt;/SPAN&gt; And-Mode method&lt;SPAN class="hps"&gt; for 3 months&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but in the end&lt;/SPAN&gt; yours is &lt;SPAN class="hps"&gt;widely &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;better !&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;David&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 17:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423737#M157943</guid>
      <dc:creator />
      <dc:date>2014-07-07T17:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423738#M157944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case anyone is interested in a more detailed and polished explanation of the solution I posted above, I've written up a little article which you can find here: &lt;A href="http://www.infinityinsight.com/blog/?p=270" title="http://www.infinityinsight.com/blog/?p=270"&gt;"AND" and "NOT" List Boxes in QlikView – Infinity Insight Blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 16:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423738#M157944</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2014-07-23T16:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423739#M157945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harvey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tag your post?&lt;/P&gt;&lt;P&gt;It only showed up as the fifth post on my search and it is clearly the one I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,KR Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 15:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423739#M157945</guid>
      <dc:creator>cheburashka</dc:creator>
      <dc:date>2015-02-02T15:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423740#M157946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar to Henric's post? &lt;A href="https://community.qlik.com/qlik-blogpost/3618"&gt;AND and OR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And Henric mentioned Jennell's post &lt;A href="https://community.qlik.com/qlik-blogpost/3219"&gt;AND-Mode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(Just crosslinking here)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 15:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423740#M157946</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-28T15:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: And-Mode: How to enable AND and NOT selections with Green, White, Grey...and Red!</title>
      <link>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423741#M157947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great. Have a question though?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway we can also chose a order date or a order date range and do the AndMode for that particular date or date range? Will it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 13:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/And-Mode-How-to-enable-AND-and-NOT-selections-with-Green-White/m-p/423741#M157947</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-07T13:51:13Z</dc:date>
    </item>
  </channel>
</rss>

