<?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 Showing customers who bought one product but not another in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655011#M1058041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to find out how to show e.g. a list of customer who bougth one or more products but not another one. I thought it would be fairly straight forward and something I could do with e.g. Alternate state but I can't get my head around how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I just want to have two listboxes with my products. If the user then e.g. want to see all the customers who have bought Product A but NOT Product B, then he selects Product A in the first one and Product B in the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd expect this to be something a lot of people have done before but eventhough I've tried to google it, I haven't been able to find a good example of how it can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully some of you can come up with some good examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 10:17:26 GMT</pubDate>
    <dc:creator>sspe</dc:creator>
    <dc:date>2014-10-03T10:17:26Z</dc:date>
    <item>
      <title>Showing customers who bought one product but not another</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655011#M1058041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to find out how to show e.g. a list of customer who bougth one or more products but not another one. I thought it would be fairly straight forward and something I could do with e.g. Alternate state but I can't get my head around how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I just want to have two listboxes with my products. If the user then e.g. want to see all the customers who have bought Product A but NOT Product B, then he selects Product A in the first one and Product B in the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd expect this to be something a lot of people have done before but eventhough I've tried to google it, I haven't been able to find a good example of how it can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully some of you can come up with some good examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 10:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655011#M1058041</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2014-10-03T10:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Showing customers who bought one product but not another</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655012#M1058042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some examples here&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/112514"&gt;http://community.qlik.com/thread/112514&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 10:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655012#M1058042</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-10-03T10:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Showing customers who bought one product but not another</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655013#M1058043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In order to solve this with S.A. you need to have an aditional field in your data model (Products_Island) this new field should contain a distinct list of all your products but it must not be related to your data model, in other words, you will be able to display 2 listboxes, one will present Product values and the other Product_Island values, allowing you to have different selections. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is done, you should use P() and E() functions in your expresssion: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;Straight Table Chart: &lt;/P&gt;&lt;P&gt;Dim = Customers&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Customers=P({&amp;lt;Product=Product&amp;gt;}Customers)&amp;gt;} Sales)&amp;nbsp; &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Customers=E({&amp;lt;Product=Product_Island&amp;gt;}Customers)&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 11:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655013#M1058043</guid>
      <dc:creator />
      <dc:date>2014-10-03T11:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Showing customers who bought one product but not another</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655014#M1058044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The examples looks like something in the right direction, but it doesn't seems to really do what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example file (actually it's the example from your link I have "stolen"..) and what I want it that is I e.g. select SubProdID 101 in the SubProdID State1 box and then 103 in the next list box, then I want it so show SalesID 4 because this is the one that has bought SubProdID 101 but NOT 103.&lt;/P&gt;&lt;P&gt;The example looks very simple but I can't figure out how to modify it so it shows me the SalesID...:-(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 11:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655014#M1058044</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2014-10-03T11:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Showing customers who bought one product but not another</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655015#M1058045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It took me a little while to get my syntax right, but your suggestion helped me in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you suggestion. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 14:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-customers-who-bought-one-product-but-not-another/m-p/655015#M1058045</guid>
      <dc:creator>sspe</dc:creator>
      <dc:date>2014-10-08T14:10:43Z</dc:date>
    </item>
  </channel>
</rss>

