<?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: Select Excluded, even when a value is selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263322#M398260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or even this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Count( {&amp;lt;DealerID= e(&lt;SPAN style="font-size: 13.3333px;"&gt;DealerID&lt;/SPAN&gt;)&amp;gt;}&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;DealerID&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2016 19:07:40 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2016-12-14T19:07:40Z</dc:date>
    <item>
      <title>Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263317#M398255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to be able to have a button or chart that displays all the Excluded values of a selection, EVEN when one of them is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a map with States. Customers are associated to each state, with some states having more than one Customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When they have a state and customer selected, I still want to be able to display the other Customers that are associated with the state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So say California has 3 customers. &lt;/P&gt;&lt;P&gt;Customer 1&lt;/P&gt;&lt;P&gt;Customer 2&lt;/P&gt;&lt;P&gt;Customer 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Customer 2 is selected, I want to display the other two Customers (1 &amp;amp; 3) so the user can then select the other customers. If they want to switch between the other customers associated with the state, they can then select one of the other Customers specific to that state. Say they select Customer 1, then only 2 &amp;amp; 3 would be showing, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 18:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263317#M398255</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-12-14T18:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263318#M398256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From the Help file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Set Modifiers with implicit field value definitions&lt;/H3&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the above examples, all field values have been explicitly defined or defined through searches. There is however an additional way to define a set of field values by the use of a nested set definition.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In such cases, the element functions P() and E() must be used, representing the element set of possible values and the excluded values of a field, respectively. Inside the brackets, it is possible to specify one set expression and one field, e.g. P({1} Customer). These functions cannot be used in other expressions:&lt;/P&gt;&lt;H2 style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Examples:&lt;/H2&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that ever have bought the product ‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product.&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 class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;same as above. If the field in the element function is omitted, the function will return the possible values of the field specified in the outer assignment.&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 class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Supplier)&amp;gt;} Sales &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that ever have supplied the product ‘Shoe’. The element function P( ) here returns a list of possible suppliers; those that are implied by the selection ‘Shoe’ in the field Product. The list of suppliers is then used as a selection in the field Customer.&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 class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 18:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263318#M398256</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T18:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263319#M398257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what you need is&amp;nbsp; &lt;STRONG&gt;E(), &lt;/STRONG&gt; but still this is a good read &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 18:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263319#M398257</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263320#M398258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I have seen this post about e() and p() but I don't know how to make it work for my formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this formula but the table just shows up blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;STATE_REGISTRATION=e(DealerID)&amp;gt;} DealerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used e() with date formulas to get past years and such, but I can't think of how to make it work in this instance for some reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 18:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263320#M398258</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-12-14T18:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263321#M398259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable to capture the Customer Selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSelections = =Replace(GetFieldSelections(DealerID),', ','","') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use below expression&lt;/P&gt;&lt;P&gt; count( {1&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DealerID&lt;/SPAN&gt;-={"$(=vSelections)"}&amp;gt;}&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DealerID&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263321#M398259</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T19:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263322#M398260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or even this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Count( {&amp;lt;DealerID= e(&lt;SPAN style="font-size: 13.3333px;"&gt;DealerID&lt;/SPAN&gt;)&amp;gt;}&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;DealerID&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263322#M398260</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T19:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263323#M398261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the formula you supplied, but it just gave me a list of all of the Dealers with a count of each DealerID?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263323#M398261</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-12-14T19:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263324#M398262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, this one didn't work either. I believe I tried this one to begin with, I just assumed I needed a more complex formula? But I'm not sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263324#M398262</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-12-14T19:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263325#M398263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are you trying it?&lt;/P&gt;&lt;P&gt;what are your dimensions? do you have any other expression in the same table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure this works! Can you share a sample app / data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263325#M398263</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T19:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263326#M398264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excluding.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/146688_excluding.JPG" style="height: 373px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263326#M398264</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-12-14T19:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select Excluded, even when a value is selected</title>
      <link>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263327#M398265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am so sorry, I feel very dumb. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; This does work.I have the state selected but I didn't have a dealer selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works when you select a dealer. I used this formula before and just assumed it wasn't working. But I didn't have the dealer selected so of course it wouldn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help! This worked perfectly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have had more faith in myself to begin with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 19:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-Excluded-even-when-a-value-is-selected/m-p/1263327#M398265</guid>
      <dc:creator>crystles</dc:creator>
      <dc:date>2016-12-14T19:42:16Z</dc:date>
    </item>
  </channel>
</rss>

