<?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 LOAD AND JOIN DATA ACCORDING TO FOR LOOP in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801364#M1211716</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've two tables&amp;nbsp; that I would like to join by using for loop&lt;/P&gt;&lt;P&gt;the key attribute is "GROUP"&lt;/P&gt;&lt;P&gt;and the for loop should be based on the value in "SKUs" attribute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the expected result is to join a"factor" from "Factors" table to each "SKU" in "MD" table by as many SKUs as defiend in "SKUs" attribute according to&amp;nbsp;"Group"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tabels are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MD:&lt;BR /&gt;Load SKU,&lt;BR /&gt;Description,&lt;BR /&gt;Group&lt;/P&gt;&lt;P&gt;from [items.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Factors:&lt;/P&gt;&lt;P&gt;Load Group,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Factor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SKUs&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;[Factors.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What will be the best way to implement it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 14:20:37 GMT</pubDate>
    <dc:creator>shahafei2</dc:creator>
    <dc:date>2021-04-21T14:20:37Z</dc:date>
    <item>
      <title>LOAD AND JOIN DATA ACCORDING TO FOR LOOP</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801364#M1211716</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've two tables&amp;nbsp; that I would like to join by using for loop&lt;/P&gt;&lt;P&gt;the key attribute is "GROUP"&lt;/P&gt;&lt;P&gt;and the for loop should be based on the value in "SKUs" attribute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the expected result is to join a"factor" from "Factors" table to each "SKU" in "MD" table by as many SKUs as defiend in "SKUs" attribute according to&amp;nbsp;"Group"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The tabels are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MD:&lt;BR /&gt;Load SKU,&lt;BR /&gt;Description,&lt;BR /&gt;Group&lt;/P&gt;&lt;P&gt;from [items.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Factors:&lt;/P&gt;&lt;P&gt;Load Group,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Factor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SKUs&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;[Factors.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What will be the best way to implement it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801364#M1211716</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2021-04-21T14:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD AND JOIN DATA ACCORDING TO FOR LOOP</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801378#M1211719</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;I'm not sure why you are proposing a for loop. You can join using multiple fields. From your description it sounds like a single join would do it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Left Join(MD)&lt;BR /&gt;Load Group,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Factor,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SKUs as SKU&lt;BR /&gt;From&amp;nbsp;[Factors.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801378#M1211719</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-04-21T14:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD AND JOIN DATA ACCORDING TO FOR LOOP</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801385#M1211720</link>
      <description>&lt;P&gt;I'm sorry if it is unclear from the description&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the SKUs attribute represents the number of SKUs that the factor is relevant for&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example, the result for the inline tables below should be :&lt;/P&gt;&lt;P&gt;result:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SKU,&lt;/SPAN&gt;&lt;SPAN&gt;Description,&lt;/SPAN&gt;&lt;SPAN&gt;Group,Factor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A,AAA,22,1.5&lt;/P&gt;&lt;P&gt;B,BBB,22,1.5&lt;/P&gt;&lt;P&gt;C,CCC,22,3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MD:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SKU,&lt;/SPAN&gt;&lt;SPAN&gt;Description,&lt;/SPAN&gt;&lt;SPAN&gt;Group&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;A,AAA,22&lt;/P&gt;&lt;P&gt;B,BBB,22&lt;/P&gt;&lt;P&gt;C,CCC,22&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Factors:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Group,Factor,SKUs&lt;/P&gt;&lt;P&gt;22,1.5,2&lt;/P&gt;&lt;P&gt;22,3,1&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-AND-JOIN-DATA-ACCORDING-TO-FOR-LOOP/m-p/1801385#M1211720</guid>
      <dc:creator>shahafei2</dc:creator>
      <dc:date>2021-04-21T14:45:39Z</dc:date>
    </item>
  </channel>
</rss>

