<?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: How to find Associated Products - Market Basket Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863893#M1016977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron Morgan, it served the purpose of listing the ItemCodes. But I need to add more expressions to the table. So, is it possible to give it as calculated dimension instead of giving it as an expression and hiding the column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 10:53:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-07T10:53:11Z</dc:date>
    <item>
      <title>How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863891#M1016975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attachment for details. Help me to list out the associated products in straight table when I select a product from a list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 05:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863891#M1016975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T05:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863892#M1016976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached my version here. I stripped out your expressions as I couldn't quite understand what purpose they were serving, and I replaced the ItemCode exclusion with an E()&amp;nbsp; - which does the opposite to your P() expression to get the same InvoiceNo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can extend this to rely on other field if need be, but check the expression of the Market Basket Analysis table to see what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As one extra point, and something that isn't well documented, calling an Alternate State "1" won't be recognised when trying to reference in the document. Because the "exclude all selections" state is represented by 1, although it allows you to create a state called 1 (whilst not letting you call one $!), it won't recognise it using the standard syntax - it will always use the exclude selections state "1". I replaced this with A1 as an example!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 09:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863892#M1016976</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-04-07T09:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863893#M1016977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron Morgan, it served the purpose of listing the ItemCodes. But I need to add more expressions to the table. So, is it possible to give it as calculated dimension instead of giving it as an expression and hiding the column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 10:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863893#M1016977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T10:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863894#M1016978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add more expressions but use the same P() and E() expressions wherever you use an aggregation. It isn't possible to do so in a calculated dimension in the format I've suggested, for that you'd need to pass values into your alternate state using an OnSelect field trigger or something similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 11:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863894#M1016978</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-04-07T11:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863895#M1016979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju ,&lt;/P&gt;&lt;P&gt;Try this expression as Dimension ,&lt;/P&gt;&lt;P&gt;=Aggr(Only({&amp;lt;ItemCode=e(ItemCode), InvoiceNo=p({&amp;lt;ItemCode=p(ItemCode)&amp;gt;}InvoiceNo)&amp;gt;}ItemCode),ItemCode)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 11:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863895#M1016979</guid>
      <dc:creator>sibideepak</dc:creator>
      <dc:date>2015-04-07T11:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863896#M1016980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I wanted!!! Thanks Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863896#M1016980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T12:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Associated Products - Market Basket Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863897#M1016981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;I'm also trying to use Market Basket Analysis. For some reason I'm not able to QVW file provided in this discussion, so it is hard for me to know as how your syntax is as dimension. I tried using it in the chart but I don't get the results . Please tell me in which chart section should I use this syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Aggr(Only({&amp;lt;ItemCode=e(ItemCode), InvoiceNo=p({&amp;lt;ItemCode=p(ItemCode)&amp;gt;}InvoiceNo)&amp;gt;}ItemCode),ItemCode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Arun &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 01:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Associated-Products-Market-Basket-Analysis/m-p/863897#M1016981</guid>
      <dc:creator>arunqlik2view</dc:creator>
      <dc:date>2018-06-12T01:27:41Z</dc:date>
    </item>
  </channel>
</rss>

