<?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: Identify set of items in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103535#M365698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share a qvw with some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Karla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 May 2016 01:35:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-21T01:35:55Z</dc:date>
    <item>
      <title>Identify set of items</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103534#M365697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to find a solution for the folling issue. I have two tables. One is including sales data on voucher level including item numbers and the quantity of sold items. The other table is showing a list of "item sets" e.g. combinations of sold items that I would like to identify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result should bei a table that shows only sold voucher numbers that include the specified items that have been sold in a set (together) with dedicated "add on items". In other words: Show vouchers that include item A and item B or item A&amp;nbsp; and item C.&lt;/P&gt;&lt;P&gt;As I do have a lot of items and possible combinations and cannot "hardcode" all the combinations in a set analysis.&lt;/P&gt;&lt;P&gt;Instead I would like to load tables that can be exchanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For better understanding I have included a MS Excel file with the respective tables, I have highlighted the data that meet the critieria in green color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 12:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103534#M365697</guid>
      <dc:creator />
      <dc:date>2016-05-19T12:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Identify set of items</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103535#M365698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share a qvw with some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- Karla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 01:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103535#M365698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-21T01:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Identify set of items</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103536#M365699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14638227016925488 jive_text_macro" jivemacro_uid="_14638227016925488" modifiedtitle="true"&gt;
&lt;P&gt;[Sales Data]:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Voucher number],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Item number],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Item Set Example.xlsx]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is [Sales Data])&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Temp1:&lt;/P&gt;
&lt;P&gt;CROSSTABLE(Set,Item2)&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Item number] as Item1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Set item number 1],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Set item number 2]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&amp;nbsp; [Item Set Example.xlsx]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (ooxml, embedded labels, table is [Set item])&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Sets:&lt;/P&gt;
&lt;P&gt;CROSSTABLE(Item,[Item number])&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Set,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Item1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Item2&lt;/P&gt;
&lt;P&gt;RESIDENT&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Temp1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE Temp1;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add a straight table to your document with Voucher and Item number as dimensions and an expression like this one: count({&amp;lt;[Voucher number]={"=count(distinct Item)=2"}&amp;gt;}DISTINCT Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 09:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103536#M365699</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-05-21T09:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Identify set of items</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103537#M365700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to share some sample data.&lt;/P&gt;&lt;P&gt;I made it up to the point, where I need to match the bundle article with the voucher article.&lt;/P&gt;&lt;P&gt;If have thought of some match or wildmatch function that is searching for the 'Bundle' in the 'Multiple Items' field.&lt;/P&gt;&lt;P&gt;The sorting of the article that make up the bundle is not relevant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 09:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103537#M365700</guid>
      <dc:creator />
      <dc:date>2016-06-01T09:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Identify set of items</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103538#M365701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So both the items in the Bundle needs to match up with Multiple Items to be included in the calculation? And this is needed in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 02:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103538#M365701</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-03T02:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Identify set of items</title>
      <link>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103539#M365702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny T,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes that would be my preferred solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2016 06:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Identify-set-of-items/m-p/1103539#M365702</guid>
      <dc:creator />
      <dc:date>2016-06-03T06:58:20Z</dc:date>
    </item>
  </channel>
</rss>

