<?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 How do i create possible combination of company where each company in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426266#M96174</link>
    <description>&lt;P&gt;how do i create possible combination of company &lt;/P&gt;
&lt;P&gt;where the company forming into the combination must come from different event with explanation below&lt;/P&gt;
&lt;P&gt;e.g. for case of group a&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;coke&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;Sptie,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;fanta,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to get a pass result:&lt;/P&gt;
&lt;P&gt;-all 3 different distinct company ( coke, sprite, fanta ) must exist within a group&lt;/P&gt;
&lt;P&gt;-order does not matter( sprite, coke, fanta ) or ( fanta, coke, sprite ) still get a pass&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sample data:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 28.8pt;"&gt;
&lt;TD width="64" height="38" class="xl63" style="height: 28.8pt; width: 48pt;"&gt;group&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;event&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;company&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;1&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;coke&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;1&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;1&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;2&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;3&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;4&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;coke&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;4&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;5&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;6&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;7&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;coke&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;7&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;8&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;8&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;9&lt;/TD&gt;
&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sample output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="497"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;group&lt;/TD&gt;
&lt;TD width="183"&gt;possible combination&lt;/TD&gt;
&lt;TD width="133"&gt;Individual result&lt;/TD&gt;
&lt;TD width="117"&gt;Final result&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;a&lt;/TD&gt;
&lt;TD&gt;coke, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;TD rowspan="3"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;a&lt;/TD&gt;
&lt;TD&gt;sprite, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;a&lt;/TD&gt;
&lt;TD&gt;fanta, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;b&lt;/TD&gt;
&lt;TD&gt;coke, sprite, fanta&lt;/TD&gt;
&lt;TD&gt;pass&lt;/TD&gt;
&lt;TD rowspan="2"&gt;pass&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;b&lt;/TD&gt;
&lt;TD&gt;sprite, sprite, fanta&lt;/TD&gt;
&lt;TD&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;c&lt;/TD&gt;
&lt;TD&gt;coke, sprite, fanta&lt;/TD&gt;
&lt;TD&gt;pass&lt;/TD&gt;
&lt;TD rowspan="3"&gt;pass&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;c&lt;/TD&gt;
&lt;TD&gt;coke, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;c&lt;/TD&gt;
&lt;TD&gt;sprite, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:02:32 GMT</pubDate>
    <dc:creator>rexxar</dc:creator>
    <dc:date>2024-11-15T21:02:32Z</dc:date>
    <item>
      <title>How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426266#M96174</link>
      <description>&lt;P&gt;how do i create possible combination of company &lt;/P&gt;
&lt;P&gt;where the company forming into the combination must come from different event with explanation below&lt;/P&gt;
&lt;P&gt;e.g. for case of group a&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;coke&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;Sptie,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;fanta,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to get a pass result:&lt;/P&gt;
&lt;P&gt;-all 3 different distinct company ( coke, sprite, fanta ) must exist within a group&lt;/P&gt;
&lt;P&gt;-order does not matter( sprite, coke, fanta ) or ( fanta, coke, sprite ) still get a pass&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sample data:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 28.8pt;"&gt;
&lt;TD width="64" height="38" class="xl63" style="height: 28.8pt; width: 48pt;"&gt;group&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;event&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;company&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;1&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;coke&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;1&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;1&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;2&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl64" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;a&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;3&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;4&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;coke&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;4&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;5&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl65" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;b&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;6&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;7&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;coke&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;7&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;8&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;sprite&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;8&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="64" height="19" class="xl66" style="height: 14.4pt; border-top: none; width: 48pt;"&gt;c&lt;/TD&gt;
&lt;TD width="64" align="right" class="xl66" style="border-top: none; border-left: none; width: 48pt;"&gt;9&lt;/TD&gt;
&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;fanta&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sample output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="497"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;group&lt;/TD&gt;
&lt;TD width="183"&gt;possible combination&lt;/TD&gt;
&lt;TD width="133"&gt;Individual result&lt;/TD&gt;
&lt;TD width="117"&gt;Final result&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;a&lt;/TD&gt;
&lt;TD&gt;coke, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;TD rowspan="3"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;a&lt;/TD&gt;
&lt;TD&gt;sprite, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="64"&gt;a&lt;/TD&gt;
&lt;TD&gt;fanta, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;b&lt;/TD&gt;
&lt;TD&gt;coke, sprite, fanta&lt;/TD&gt;
&lt;TD&gt;pass&lt;/TD&gt;
&lt;TD rowspan="2"&gt;pass&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;b&lt;/TD&gt;
&lt;TD&gt;sprite, sprite, fanta&lt;/TD&gt;
&lt;TD&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;c&lt;/TD&gt;
&lt;TD&gt;coke, sprite, fanta&lt;/TD&gt;
&lt;TD&gt;pass&lt;/TD&gt;
&lt;TD rowspan="3"&gt;pass&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;c&lt;/TD&gt;
&lt;TD&gt;coke, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;c&lt;/TD&gt;
&lt;TD&gt;sprite, fanta, fanta&lt;/TD&gt;
&lt;TD width="133"&gt;fail&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426266#M96174</guid>
      <dc:creator>rexxar</dc:creator>
      <dc:date>2024-11-15T21:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426273#M96176</link>
      <description>&lt;P&gt;Attached is an UI implementation same can be moved to backend script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should Concat of Company group by Group and Event.&lt;/P&gt;
&lt;P&gt;=Concat(company,',')&lt;/P&gt;
&lt;P&gt;=If( Rangesum(SubStringCount(Concat(distinct company,'|'),'fanta'),&lt;BR /&gt;SubStringCount(Concat(distinct company,'|'),'coke'),&lt;BR /&gt;SubStringCount(Concat(distinct company,'|'),'sprite')) =3, 'Pass','Fail')&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 11:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426273#M96176</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-03T11:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426287#M96178</link>
      <description>&lt;P&gt;It worked partly but not fully as intended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;A) for this logic:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=Concat(company,',')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for group a, the logic creates coke, fanta, sprite&lt;/P&gt;
&lt;P&gt;but by right&lt;/P&gt;
&lt;P&gt;group a should contains&lt;/P&gt;
&lt;P&gt;coke, fanta, fanta&lt;/P&gt;
&lt;P&gt;sprite, fanta, fanta&lt;/P&gt;
&lt;P&gt;fanta, fanta, fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;group a should fail the test because there should be no coke, sprite, fanta combination&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;B) for this logic:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=If( Rangesum(SubStringCount(Concat(distinct company,'|'),'fanta'),&lt;BR /&gt;SubStringCount(Concat(distinct company,'|'),'coke'),&lt;BR /&gt;SubStringCount(Concat(distinct company,'|'),'sprite')) =3, 'Pass','Fail')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it works! but in this case its hardcoded to fanta, sprite, coke.&lt;/P&gt;
&lt;P&gt;what if the drinks can be anything ( e.g. 7up, poka, a&amp;amp;w )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 14:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426287#M96178</guid>
      <dc:creator>stormseekerx</dc:creator>
      <dc:date>2024-03-03T14:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426289#M96179</link>
      <description>&lt;P&gt;"group a should contains&lt;/P&gt;
&lt;P&gt;coke, fanta, fanta&lt;/P&gt;
&lt;P&gt;sprite, fanta, fanta&lt;/P&gt;
&lt;P&gt;fanta, fanta, fanta"&amp;nbsp; &amp;nbsp;How are you deriving this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 15:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426289#M96179</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-03T15:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426291#M96180</link>
      <description>&lt;P&gt;&lt;SPAN&gt;" what if the drinks can be anything ( e.g. 7up, poka, a&amp;amp;w ) "&amp;nbsp; &amp;nbsp;- you have to hardcode I don't see any other option.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 16:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426291#M96180</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-03T16:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426315#M96185</link>
      <description>&lt;P&gt;This is what is used in script editor:&lt;/P&gt;
&lt;P&gt;coke:&lt;BR /&gt;LOAD&lt;BR /&gt;group,&lt;BR /&gt;event,&lt;BR /&gt;company,&lt;BR /&gt;group &amp;amp; '|' &amp;amp; event as key_1&lt;BR /&gt;&lt;BR /&gt;FROM [lib://DataFiles/coke.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;/////////////////////////////////////////////////////////&lt;/P&gt;
&lt;P&gt;map_1:&lt;BR /&gt;// left join(coke)&lt;BR /&gt;Load group, event,Concat("company", ',') as concat_supplier_name&lt;/P&gt;
&lt;P&gt;Resident coke&lt;/P&gt;
&lt;P&gt;Group By group, event;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;drop table coke;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what is in model model view:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stormseekerx_1-1709515267887.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/161174iFAE20BA54E499D79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stormseekerx_1-1709515267887.png" alt="stormseekerx_1-1709515267887.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_5b6094f8485f90stormseekerx_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 01:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426315#M96185</guid>
      <dc:creator>stormseekerx</dc:creator>
      <dc:date>2024-03-04T01:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426322#M96187</link>
      <description>&lt;P&gt;So your model view matches with my earlier output snapshot right ? not with below .&lt;/P&gt;
&lt;P&gt;There seems to be a mistake in below group derivation, hence asked for logic.&lt;/P&gt;
&lt;P&gt;"group a should contains&lt;/P&gt;
&lt;P&gt;coke, fanta, fanta&lt;/P&gt;
&lt;P&gt;sprite, fanta, fanta&lt;/P&gt;
&lt;P&gt;fanta, fanta, fanta"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 02:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426322#M96187</guid>
      <dc:creator>Dataintellinalytics</dc:creator>
      <dc:date>2024-03-04T02:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do i create possible combination of company where each company</title>
      <link>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426470#M96203</link>
      <description>&lt;P&gt;The logic was explained at the very start of the post, for example below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Get all the possible combination within a group&lt;/P&gt;
&lt;P&gt;-the condition is that the combination must be made up of company coming from &lt;STRONG&gt;different event&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;e.g. all the possible combination below&lt;/P&gt;
&lt;P&gt;group A&lt;/P&gt;
&lt;P&gt;tender1, tender2, tender3&lt;/P&gt;
&lt;P&gt;coke&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;group A&lt;/P&gt;
&lt;P&gt;event 1 ,&amp;nbsp;&amp;nbsp;&amp;nbsp; event 2 ,&amp;nbsp;&amp;nbsp;&amp;nbsp; event 3&lt;/P&gt;
&lt;P&gt;Sprite&amp;nbsp;&amp;nbsp; ,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;group A&lt;/P&gt;
&lt;P&gt;event 1 , event 2 ,&amp;nbsp;&amp;nbsp;&amp;nbsp; event 3&lt;/P&gt;
&lt;P&gt;fanta, &amp;nbsp; &amp;nbsp; &amp;nbsp; fanta&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; fanta&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Noticed that for group A, there is no such combination ( coke, fanta sprite ) shown in the snapshot&lt;/P&gt;
&lt;P&gt;as event 2 and event 3 only have fanta&lt;/P&gt;
&lt;P&gt;it will always be just ( coke, fanta, fanta ) ,&amp;nbsp; (sprite, fanta, fanta ), ( fanta, fanta, fanta )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 09:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-do-i-create-possible-combination-of-company-where-each/m-p/2426470#M96203</guid>
      <dc:creator>stormseekerx</dc:creator>
      <dc:date>2024-03-04T09:01:04Z</dc:date>
    </item>
  </channel>
</rss>

