<?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: Movie recommendation engine in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593966#M220082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Luis!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the set analysis text in the Qlikview help section and came up with the following code for my expression in the movie table (with [SERIE TITLE}] as dimension:&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[MEMBER ID] = P({1&amp;lt;[SERIE TITLE]={‘Castle’}&amp;gt;} [MEMBER ID])&amp;gt;}PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see what I am doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 14:59:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-07T14:59:01Z</dc:date>
    <item>
      <title>Movie recommendation engine</title>
      <link>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593963#M220079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database full of users and which movies they watched. Now I would like to make a simple recommendation. For example: people who viewed Movie A also watched Movie B.&lt;/P&gt;&lt;P&gt;I have no idea where to start and also no idea how to formulate my question correctly to be able to search this forum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dorine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 14:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593963#M220079</guid>
      <dc:creator />
      <dc:date>2014-03-03T14:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Movie recommendation engine</title>
      <link>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593964#M220080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe some more info is handy:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the database is information stored about the viewer (name, gender, date of birth) as well as the movie (title)&lt;/LI&gt;&lt;LI&gt;I would like to be able to select Movie A and then see what other movies have been watched by people who have watched Movie A. Preferably I would like to rank the other movies on number of views.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hopefully this explains a little bit better what I am trying to achieve. All advice is welcome! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 18:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593964#M220080</guid>
      <dc:creator />
      <dc:date>2014-03-03T18:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Movie recommendation engine</title>
      <link>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593965#M220081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds to me like a Basket Analysis problem. There are some examples on the community:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/225432"&gt;Re: Check if two certain products are sold together ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/268481"&gt;Expression to know the mix product&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for this specific question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I would like to be able to select Movie A and then see what other movies have been watched by people who have watched Movie A. Preferably I would like to rank the other movies on number of views.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's almost the definitio of a P function. You want to return the movies that have been seen by the people that have seen Movie A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you take a look at the last part of the Set Analysis help in QlikView you can find examples, for instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;EM&gt;sum(&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&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;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is basically what you are looking for (but with viewers and movies).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 19:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593965#M220081</guid>
      <dc:creator>Luis_Cortizo</dc:creator>
      <dc:date>2014-03-03T19:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Movie recommendation engine</title>
      <link>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593966#M220082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Luis!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read the set analysis text in the Qlikview help section and came up with the following code for my expression in the movie table (with [SERIE TITLE}] as dimension:&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[MEMBER ID] = P({1&amp;lt;[SERIE TITLE]={‘Castle’}&amp;gt;} [MEMBER ID])&amp;gt;}PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you see what I am doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 14:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Movie-recommendation-engine/m-p/593966#M220082</guid>
      <dc:creator />
      <dc:date>2014-03-07T14:59:01Z</dc:date>
    </item>
  </channel>
</rss>

