<?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: Using XOR on a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916793#M317879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that's exactly what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I make multiple selections within my and-mode table, I want to compare the parts that are different between the top three volume products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to achieve this with a code similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Product 1 Parts] =if(GetSelectedCount(Product)&amp;gt;0, Only({&amp;lt;Product = {"=Rank(Sum({$} [Product Volume]))=1"}&amp;gt;} Parts))&lt;/P&gt;&lt;P&gt;[Product 2 Parts] =if(GetSelectedCount(Product)&amp;gt;0, Only({&amp;lt;Product = {"=Rank(Sum({$} [Product Volume]))=2"}&amp;gt;} Parts))&lt;/P&gt;&lt;P&gt;[Product 3 Parts] =if(GetSelectedCount(Product)&amp;gt;0, Only({&amp;lt;Product = {"=Rank(Sum({$} [Product Volume]))=3"}&amp;gt;} Parts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Product 1 Parts] XOR &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Product 2 Parts] XOR &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Product 3 Parts]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;so that I only see the parts that are different between the top three selected products&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 13:48:01 GMT</pubDate>
    <dc:creator>drewwilliams</dc:creator>
    <dc:date>2015-07-29T13:48:01Z</dc:date>
    <item>
      <title>Using XOR on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916789#M317875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have an AND-mode listbox setup and would like to have another listbox that contains the items that the AND-mode listbox is excluding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I have product 1, 2, 3, and 4 where their parts are listed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product 1: A, B, C, E&lt;/P&gt;&lt;P&gt;Product 2: A, B, D, E, F&lt;/P&gt;&lt;P&gt;Product 3: A, C, E, G&lt;/P&gt;&lt;P&gt;Product 4: A, B, C, D, E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My AND-mode table for the parts when selecting Products 1, 2, and 4 will show: A, B, E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question/Problem: &lt;/STRONG&gt;I would like to have a second table that shows what is excluded but only from my selection so the second table should show: C, D, and F (but not G since that part is not in products 1, 2, and 4 which were selected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the XOR operation should do the trick but I'm unsure on how it can be applied to the part dimension to achieve the second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any and all help is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 20:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916789#M317875</guid>
      <dc:creator>drewwilliams</dc:creator>
      <dc:date>2015-07-27T20:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using XOR on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916790#M317876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could be possible with set analysis: &lt;A href="https://community.qlik.com/message/822427"&gt;Re: advanced Set Analysis with OR???&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 07:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916790#M317876</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-28T07:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using XOR on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916791#M317877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thread you linked has XOR used within an expression. Currently I have a AND-mode listbox with Product 1, Product 2, Product 3, and Product 4. When items are selected within this listbox, I have another listbox showing their common parts.&lt;BR /&gt;I'm looking to apply the XOR to a listbox with the Products dimension so that my listbox with parts only shows the ones that are different between the selected products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 12:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916791#M317877</guid>
      <dc:creator>drewwilliams</dc:creator>
      <dc:date>2015-07-29T12:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using XOR on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916792#M317878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A href="https://community.qlik.com/thread/174024"&gt;Multiple table selections Conditional&lt;/A&gt; especially the last thought by creating the conditions or part of it's (as flags) within the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 13:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916792#M317878</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-29T13:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using XOR on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916793#M317879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that's exactly what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I make multiple selections within my and-mode table, I want to compare the parts that are different between the top three volume products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to achieve this with a code similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Product 1 Parts] =if(GetSelectedCount(Product)&amp;gt;0, Only({&amp;lt;Product = {"=Rank(Sum({$} [Product Volume]))=1"}&amp;gt;} Parts))&lt;/P&gt;&lt;P&gt;[Product 2 Parts] =if(GetSelectedCount(Product)&amp;gt;0, Only({&amp;lt;Product = {"=Rank(Sum({$} [Product Volume]))=2"}&amp;gt;} Parts))&lt;/P&gt;&lt;P&gt;[Product 3 Parts] =if(GetSelectedCount(Product)&amp;gt;0, Only({&amp;lt;Product = {"=Rank(Sum({$} [Product Volume]))=3"}&amp;gt;} Parts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Product 1 Parts] XOR &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Product 2 Parts] XOR &lt;SPAN style="font-size: 13.3333330154419px;"&gt;[Product 3 Parts]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;so that I only see the parts that are different between the top three selected products&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 13:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-XOR-on-a-dimension/m-p/916793#M317879</guid>
      <dc:creator>drewwilliams</dc:creator>
      <dc:date>2015-07-29T13:48:01Z</dc:date>
    </item>
  </channel>
</rss>

