<?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: Retail Duplicate Records Data Load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1768396#M591644</link>
    <description>&lt;P&gt;Script like this with a left join should work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table1:
LOAD ID, Value AS [Table 1 Value]
INLINE [
	ID, Value
    1, 100
    1, 150
    2, 250
    2, 75
    3, 58
    3, 36
];

LEFT JOIN (Table1)
//Table2:
LOAD ID, Value AS [Table 2 Value]
INLINE [
	ID, Value
    1, 100
    2, 75
    3, 58
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns an output table that looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nicole-Smith_0-1607983980433.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45640i4DBE6652D3024675/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nicole-Smith_0-1607983980433.png" alt="Nicole-Smith_0-1607983980433.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 22:13:09 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2020-12-14T22:13:09Z</dc:date>
    <item>
      <title>Retail Duplicate Records Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1768391#M591643</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a use case to load two sets of files where the the data in the first file (Table 1) contains duplicate ID rows and only one instance of the same ID in the second file (Table 2). I would like the data from Table 2 to be repeated for each instance of row in Table 1. I am attaching the below image to help illustrate the two tables and the expected result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried multiple types of Joins but can't see to get the desired outcome and would appreciate if anyone could suggest possible solutions to consider.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TableLoad - Copy.PNG" style="width: 440px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45639i6742CFF93E36F8A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="TableLoad - Copy.PNG" alt="TableLoad - Copy.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 21:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1768391#M591643</guid>
      <dc:creator>Tatalay2021</dc:creator>
      <dc:date>2020-12-14T21:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retail Duplicate Records Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1768396#M591644</link>
      <description>&lt;P&gt;Script like this with a left join should work:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table1:
LOAD ID, Value AS [Table 1 Value]
INLINE [
	ID, Value
    1, 100
    1, 150
    2, 250
    2, 75
    3, 58
    3, 36
];

LEFT JOIN (Table1)
//Table2:
LOAD ID, Value AS [Table 2 Value]
INLINE [
	ID, Value
    1, 100
    2, 75
    3, 58
];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It returns an output table that looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nicole-Smith_0-1607983980433.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45640i4DBE6652D3024675/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nicole-Smith_0-1607983980433.png" alt="Nicole-Smith_0-1607983980433.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 22:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1768396#M591644</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2020-12-14T22:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Retail Duplicate Records Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1771739#M591645</link>
      <description>&lt;P&gt;Thanks for your feedback, Nicole!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try LEFT JOIN but unfortunately my straight table is not behaving as I expect it to. I am not certain if it the load issue or how my table is setup. At the moment, it just appears to return the data from one of the tables. I added a dimension to pull from the second table but does not return any data.&lt;/P&gt;&lt;P&gt;I understand I may not be describing the issue thoroughly here but please let me know if there is something I can add to clarify it better.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 20:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1771739#M591645</guid>
      <dc:creator>Tatalay2021</dc:creator>
      <dc:date>2021-01-04T20:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retail Duplicate Records Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1771757#M591646</link>
      <description>&lt;P&gt;You'll need to add an example QVW file for further help.&amp;nbsp; It's hard to understand what isn't working if you've followed the same steps I have above.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 22:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1771757#M591646</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2021-01-04T22:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retail Duplicate Records Data Load</title>
      <link>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1773405#M591647</link>
      <description>&lt;P&gt;Looks like my issues was due to my expressions. The left join you recommended works as expected.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 15:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Retail-Duplicate-Records-Data-Load/m-p/1773405#M591647</guid>
      <dc:creator>Tatalay2021</dc:creator>
      <dc:date>2021-01-11T15:00:32Z</dc:date>
    </item>
  </channel>
</rss>

