<?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: Cross Selling in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773472#M591361</link>
    <description>&lt;P&gt;Hi Edwin&lt;/P&gt;&lt;P&gt;Thanks for taking the time to review this. It seems to work! I'm using ItemCode as my dimension and then your formula to calculate the amounts. However both in your example and after transposing the fieldnames to the names in my table the formula gives an error.&amp;nbsp; I don't know if this is relevant?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 18:01:30 GMT</pubDate>
    <dc:creator>Arnec</dc:creator>
    <dc:date>2021-01-11T18:01:30Z</dc:date>
    <item>
      <title>Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1771973#M591353</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;I'm trying to do cross selling analysis based on an invoices table that has a line per invoice line:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Document Number&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ItemCode&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Quantity&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Unit Price&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Turnover&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I found a fex examples here but I can't get it to work. Most of the solutions suggest creating a matrix but I don't really want to load 5 years of invoices twice in my dashboard :).&lt;/P&gt;&lt;P&gt;So how can I select an Itemcode from a listbox and then get an output like this:&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Item 1 - sold in 5 orders - for a total quantity of 10&lt;BR /&gt;Item 2 - sold in 4 orders - for a total quantity of 5&lt;BR /&gt;... etc.&lt;/P&gt;&lt;P&gt;So I think it's clear I need to see all itemcodes with a value &amp;gt; 0 besides the one I select.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1771973#M591353</guid>
      <dc:creator>Arnec</dc:creator>
      <dc:date>2024-11-15T23:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1772676#M591354</link>
      <description>&lt;P&gt;&amp;nbsp; what&amp;nbsp;is the relationship between the itemcode you selected and the item codes that you want to report on?&amp;nbsp;can you give sample data and expected result when one of the itemcodes is selected?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 19:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1772676#M591354</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-07T19:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773305#M591355</link>
      <description>&lt;P&gt;Hi Edwin&lt;/P&gt;&lt;P&gt;Thank you for replying. The relation will be the invoice number. In my table there is a row for each line on the invoice stating the number, item number, quantity, turnover, ... etc.&lt;/P&gt;&lt;P&gt;I would like to be able to select itemcode A and then populate list that contains itemcodes B to Z that appear together on any invoice. Preferably I'll be showing a count of those, a sum of the quantity, turnover, margin ... etc.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 10:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773305#M591355</guid>
      <dc:creator>Arnec</dc:creator>
      <dc:date>2021-01-11T10:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773372#M591356</link>
      <description>&lt;P&gt;you dont have invoice number in the table,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Document Number&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;ItemCode&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Quantity&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Unit Price&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Turnover&lt;/EM&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;can you share your data or a QVW?&amp;nbsp; it sounds your challenge is how to represent your data in a Qlik data model and providing a sample of your data and how it is structured will allow others to help&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 13:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773372#M591356</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-11T13:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773380#M591357</link>
      <description>&lt;P&gt;assuming invoice and item code are in the same table (or they can be in separate tables but an association/link exists):&lt;BR /&gt;&lt;BR /&gt;load * inline [&lt;BR /&gt;Invoice, itemcode, qty&lt;BR /&gt;INV1, A, 12&lt;BR /&gt;INV1, B, 11&lt;BR /&gt;INV2, B, 10&lt;BR /&gt;INV2, C, 13&lt;BR /&gt;INV3, A, 14&lt;BR /&gt;INV3, F, 15&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;you can create a variable tat stores the selected items code and a straight table with invoice and itemcode as dimension and the expression is&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;= sum({&amp;lt;Invoice=p({&amp;lt;itemcode={'$(vItemSelected)'}&amp;gt;}Invoice), itemcode=-{'$(vItemSelected)'}&amp;gt;}qty)&lt;BR /&gt;&lt;BR /&gt;this means get the sum of qty, for item code &amp;lt;&amp;gt; selected code and invoice is the same as invoices with item code = selected item code&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 14:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773380#M591357</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-11T14:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773382#M591358</link>
      <description>&lt;P&gt;in the data example, A is selected, only invoices INV1 and INV3 are valid, only items B and F are also valid&lt;/P&gt;&lt;P&gt;that should address the requirement,&lt;EM&gt; get all item codes not = to selected item code but are in the same invoice as selected item code&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1610374439622.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46760i9AF5747503929C31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1610374439622.png" alt="edwin_0-1610374439622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 14:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773382#M591358</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-11T14:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773383#M591359</link>
      <description>&lt;P&gt;also if you dont wish to create the variable you can use this expression, assuming the user can only select 1 itemcode:&lt;BR /&gt;&lt;BR /&gt;= sum({&amp;lt;Invoice=p({&amp;lt;itemcode={'$(=only(itemcode))'}&amp;gt;}Invoice), itemcode=-{'$(=only(itemcode))'}&amp;gt;}qty)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 14:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773383#M591359</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-11T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773472#M591361</link>
      <description>&lt;P&gt;Hi Edwin&lt;/P&gt;&lt;P&gt;Thanks for taking the time to review this. It seems to work! I'm using ItemCode as my dimension and then your formula to calculate the amounts. However both in your example and after transposing the fieldnames to the names in my table the formula gives an error.&amp;nbsp; I don't know if this is relevant?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 18:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773472#M591361</guid>
      <dc:creator>Arnec</dc:creator>
      <dc:date>2021-01-11T18:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773715#M591364</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/67089"&gt;@Arnec&lt;/a&gt;&amp;nbsp;&amp;nbsp;i would stick with the one using the variable&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 13:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773715#M591364</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-12T13:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773720#M591365</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58578"&gt;@edwin&lt;/a&gt;&amp;nbsp;thanks. Seems to do the trick. Some difficulty when using other fields to filter such as the Itemname which is in the same line.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 14:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773720#M591365</guid>
      <dc:creator>Arnec</dc:creator>
      <dc:date>2021-01-12T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773751#M591366</link>
      <description>&lt;P&gt;as item code and item name are different fields the expression will not work.&amp;nbsp; you can create 2 expressions one that assumes the selection is on item code and one that is for item name; then you make the expression conditional on which is selected:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;for itemcode, use condition getselectedcount(itemcode)=1
for itemname, use condition getselectedcount(itemname)=1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 15:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773751#M591366</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-12T15:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Selling</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773754#M591368</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46823i6530BF912A6411FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 15:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Selling/m-p/1773754#M591368</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-01-12T15:11:52Z</dc:date>
    </item>
  </channel>
</rss>

