<?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: Duplicate Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443920#M1236471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Felip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try just this and see how it goes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 22:23:50 GMT</pubDate>
    <dc:creator>oseimuduame</dc:creator>
    <dc:date>2017-12-15T22:23:50Z</dc:date>
    <item>
      <title>Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443905#M1236456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a small challenge here, i am fetching data from an Oracle Database into Qlikview but then i discovered that the data i am getting is twice what i have in my Oracle Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please any help please as this just scattered my whole report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Await a speedy response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443905#M1236456</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443906#M1236457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omotayo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you doing some sort of concatenate or join statement when retrivieng the data?&lt;/P&gt;&lt;P&gt;That might be causing the double entry data you see.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443906#M1236457</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-07T15:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443907#M1236458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some few LEFT JOIN, RIGHT JOIN and INNER JOIN, this was due to JOINING table together to get accurate DATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you suggest i can do to correct this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443907#M1236458</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-07T15:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443908#M1236459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to see which combinations of data (left and right joins) are giving you the duplicated data.&lt;/P&gt;&lt;P&gt;What kind of combinations gives more than one line for your data that these joins are dupplicating the data.&lt;/P&gt;&lt;P&gt;It's more an investigative data search than something we can actually help without some sample data or QVW to work on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share some screenshots or app with example data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443908#M1236459</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-07T16:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443909#M1236460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the Two Scripts i am sure i am Joining the or concatenating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OH_QTY is the major one i had issues with right now. I joined my Inventory Table and Qty Table together which is causing the issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="invn qty.PNG" class="jive-image image-1" src="/legacyfs/online/186114_invn qty.PNG" style="height: auto;" /&gt;&lt;IMG alt="invn.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/186115_invn.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443909#M1236460</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-07T16:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443910#M1236461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming by the join in the sql statement that both the tables have more than one entry for each ITEM_SID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INVN_SBS table:&lt;/P&gt;&lt;P&gt;ITEM_SID, COST,MATERIAL&lt;/P&gt;&lt;P&gt;1,1,1&lt;/P&gt;&lt;P&gt;1,3,2&lt;/P&gt;&lt;P&gt;2,10&lt;/P&gt;&lt;P&gt;3,50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the INVN_SBS_QTY might look something like this:&lt;/P&gt;&lt;P&gt;ITEM_SID,SBS_NO,STORE_NO,QTY&lt;/P&gt;&lt;P&gt;1,1,1,100&lt;/P&gt;&lt;P&gt;1,2,1,200&lt;/P&gt;&lt;P&gt;2,1,1,13&lt;/P&gt;&lt;P&gt;2,1,2,15&lt;/P&gt;&lt;P&gt;3,3,3,50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which gives duplicate rows as below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186121_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you're only joining by the ITEM_SID the combination of ITEM_SID on the &lt;SPAN style="font-size: 13.3333px;"&gt;INVN_SBS with the join by &lt;SPAN style="font-size: 13.3333px;"&gt;INVN_SBS_QTY&amp;nbsp; table can generate such cases.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;One option is to identify if adding another field (in my assumption case, the MATERIAL field) that differentiates the rows of both tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can you share some rows as to how your data is duplicating and some related table data?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443910#M1236461</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-07T16:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443911#M1236462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the Screenshot of the Data... This Item is suppose to have 1qty not two two as in this case.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dash.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186137_dash.PNG" style="height: 238px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443911#M1236462</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-07T17:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443912#M1236463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's definately a duplication issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can you put all the fields of the original tables and take a screenshot or paste it into an Excel spreadsheet after the join?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443912#M1236463</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-07T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443913#M1236464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="checkDah.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186143_checkDah.PNG" style="height: 358px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Attached is the Table Showing the Query... the field for OH_QTY carries duplicate quantity. All the figures here are not correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443913#M1236464</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-07T17:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443914#M1236465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be necessary to get all field for both tables, INVN_SBS and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;INVN_SBS_QTY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can you get all fields from both tables for the first ITEM_SID that appears on your screenshot please?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2017 17:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443914#M1236465</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-07T17:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443915#M1236466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You for your response. i had issues with my system but its fixed now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So below is the list of Fields for the two tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//INVN_SBS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.ITEM_SID) AS "ITEM_SID",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.ITEM_NO AS "ITEM_NO",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.SBS_NO AS "SBS_NO",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; n.ACTIVE AS "ITEM_ACTIVE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.VEND_CODE AS "VEND_CODE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.DCS_CODE AS "DCS_CODE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.DESCRIPTION1 AS "ITEM_DESCRIPTION1",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.DESCRIPTION2 AS "ITEM_DESCRIPTION2",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.DESCRIPTION3 AS "ITEM_DESCRIPTION3",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.DESCRIPTION4 AS "ITEM_DESCRIPTION4",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.ATTR AS "ITEM_ATTR",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.SIZ AS "ITEM_SIZ",&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBSTR(d.DCS_CODE,1,3) AS "D_CODE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBSTR(d.DCS_CODE,4,3) AS "C_CODE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; SUBSTR(d.DCS_CODE,7,3) AS "S_CODE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.D_NAME AS "D_NAME",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.C_NAME AS "C_NAME",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.S_NAME AS "S_NAME",&lt;/P&gt;&lt;P&gt;&amp;nbsp; u.UPC AS "UPC",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.D_LONG_NAME AS "D_LONG_NAME",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.C_LONG_NAME AS "C_LONG_NAME",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.S_LONG_NAME AS "S_LONG_NAME",&lt;/P&gt;&lt;P&gt;&amp;nbsp; d.ACTIVE AS "DCS_ACTIVE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; n.COST AS "ITEM_COST",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.FST_RCVD_DATE, 'DD-MM-YYYY') AS "FIRST_RCVD_DATE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.FST_RCVD_DATE, 'YYYY') AS "FIRST_RCVD_YEAR",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.FST_RCVD_DATE, 'MM') AS "FIRST_RCVD_MONTH",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.FST_RCVD_DATE, 'DD') AS "FIRST_RCVD_DAY",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.LST_RCVD_DATE, 'DD-MM-YYYY') AS "LAST_RCVD_DATE",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.LST_RCVD_DATE, 'YYYY') AS "LAST_RCVD_YEAR",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.LST_RCVD_DATE, 'MM') AS "LAST_RCVD_MONTH",&lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(n.LST_RCVD_DATE, 'DD') AS "LAST_RCVD_DAY"&lt;/P&gt;&lt;P&gt;FROM INVN_SBS n&lt;/P&gt;&lt;P&gt;LEFT JOIN INVENTORY u ON n.ITEM_SID = u.ITEM_SID&lt;/P&gt;&lt;P&gt;LEFT JOIN INVC_ITEM i ON i.ITEM_SID = n.ITEM_SID&lt;/P&gt;&lt;P&gt;LEFT JOIN VENDOR v ON v.VEND_CODE = n.VEND_CODE AND v.SBS_NO = n.SBS_NO&lt;/P&gt;&lt;P&gt;LEFT JOIN DCS d ON d.DCS_CODE = n.DCS_CODE AND d.SBS_NO = n.SBS_NO&lt;/P&gt;&lt;P&gt;WHERE n.SBS_NO in $(subsidiaries) and n.ACTIVE = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//INVN_SBS_QTY&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;&amp;nbsp; TO_CHAR(q.ITEM_SID) AS "ITEM_SID",&lt;/P&gt;&lt;P&gt;&amp;nbsp; q.SBS_NO AS "SBS_NO",&lt;/P&gt;&lt;P&gt;&amp;nbsp; q.STORE_NO AS "STORE_NO",&lt;/P&gt;&lt;P&gt;&amp;nbsp; ((q.QTY)) as "OH_QTY",&lt;/P&gt;&lt;P&gt;&amp;nbsp; (n.COST * q.QTY) AS "EXT_COST"&lt;/P&gt;&lt;P&gt;FROM INVN_SBS_QTY q&lt;/P&gt;&lt;P&gt;INNER JOIN INVN_SBS n ON n.ITEM_SID = q.ITEM_SID&lt;/P&gt;&lt;P&gt;WHERE n.ACTIVE = 1 AND q.STORE_NO &amp;lt; 250 AND q.SBS_NO in $(subsidiaries);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help Please... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 12:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443915#M1236466</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-15T12:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443916#M1236467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omotayo,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I forgot to mention, with this select statmentes, can you please put some of the data into a file (Excel for example) so that it's possible to check whats going on?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Simply by the SQL statements it's difficult to debug the issue without actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please run&amp;nbsp; the above statement for a few connected items (on both tables) so that the join might get tested in Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 13:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443916#M1236467</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-15T13:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443917#M1236468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having difficulty attaching an excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 17:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443917#M1236468</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-15T17:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443918#M1236469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i have your email&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 17:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443918#M1236469</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-15T17:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443919#M1236470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omotayo,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've seen the files you posted on another thread, and to me, it seems your loading the data twice, once from the Quantity table, and the other from the Items table, do you need both sql statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try the code below to check if it's resolved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Gets the Item quantites from the table&lt;/P&gt;&lt;P&gt;ITEM_QTY:&lt;/P&gt;&lt;P&gt;SQL Select&lt;/P&gt;&lt;P&gt;TO_CHAR(q.ITEM_SID) as "ITEM_SID",&lt;/P&gt;&lt;P&gt;q.SBS_NO as "SBS_NO",&lt;/P&gt;&lt;P&gt;q.STORE_NO as "STORE_NO",&lt;/P&gt;&lt;P&gt;((q.QTY)) as "OH_QTY",&lt;/P&gt;&lt;P&gt;(n.COST * q.QTY) as "EXT_COST"&lt;/P&gt;&lt;P&gt;FROM INVN_SBS_QTY q&lt;/P&gt;&lt;P&gt;INNER JOIN INVN_SBS n ON n.ITEM_SID = q.ITEM_SID&lt;/P&gt;&lt;P&gt;WHERE n.ACTIVE = 1 AND q.STORE_NO &amp;lt; 250 AND q.SBS_NO in $(subsidiaries);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;// Gets the Item from the table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ITEMS:&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;TO_CHAR(q.ITEM_SID) as "ITEM_SID",&lt;/P&gt;&lt;P&gt;n.SBS_NO as "SBS_NO",&lt;/P&gt;&lt;P&gt;n.DESCRIPTION1 as "ITEM_DESCRIPTION1",&lt;/P&gt;&lt;P&gt;n.DESCRIPTION2 as "ITEM_DESCRIPTION2",&lt;/P&gt;&lt;P&gt;n.DESCRIPTION3 as "ITEM_DESCRIPTION3",&lt;/P&gt;&lt;P&gt;n.DESCRIPTION4 as "ITEM_DESCRIPTION4",&lt;/P&gt;&lt;P&gt;n.ATTR as "ITEM_ATTR"&lt;/P&gt;&lt;P&gt;FROM INVN_SBS n&lt;/P&gt;&lt;P&gt;LEFT JOIN INVERNTORY u ON n.ITEM_SID = u.ITEM_SID&lt;/P&gt;&lt;P&gt;LEFT JOIN INVC_ITEM i ON i.ITEM_SID = n.ITEM_SID&lt;/P&gt;&lt;P&gt;LEFT JOIN VENDOR v ON v.VEND_CODE = n.VEND_CODE and v.SBS_NO = n.SBS_NO&lt;/P&gt;&lt;P&gt;LEFT JOIN DCS d ON d.DCS_CODE = n.DCS_CODE AND d.SBS_NO = n.SBS_NO&lt;/P&gt;&lt;P&gt;Where n.SBS_NO in $(subsidiaries) and n.ACTIVE = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// joins both tables to get the descriptions, based on common fields&lt;/P&gt;&lt;P&gt;left join (ITEM_QTY)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ITEM_SID,&lt;/P&gt;&lt;P&gt;SBS_NO,&lt;/P&gt;&lt;P&gt;ITEM_DESCRIPTION1,&lt;/P&gt;&lt;P&gt;ITEM_DESCRIPTION2,&lt;/P&gt;&lt;P&gt;ITEM_DESCRIPTION3,&lt;/P&gt;&lt;P&gt;ITEM_DESCRIPTION4,&lt;/P&gt;&lt;P&gt;ITEM_ATTR&lt;/P&gt;&lt;P&gt;resident ITEMS;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table ITEMS;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 18:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443919#M1236470</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-15T18:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443920#M1236471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Felip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try just this and see how it goes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 22:23:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443920#M1236471</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-15T22:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443921#M1236472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Felip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After trying this script it now gives me three time of what i am suppose to get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where i have 2 i now have 6..&lt;/P&gt;&lt;P&gt;Any idea what is going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 15:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443921#M1236472</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-18T15:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443922#M1236473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried (left keep etc) rather than join. In this way the duplication issue should be easier to locate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit. I try to avoid joining tables. I prefer either using keep. Or use mapping. In this way the duplication issue if it occurs is not so bad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 15:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443922#M1236473</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2017-12-18T15:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443923#M1236474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you just loading the code I've described above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the join is producing 6 instead of two, there are tree entries in the ITEMS table with the combination&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ITEM_SID, SBS_NO&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Meaning that there are other fields in the ITEMS table that differentiate each row, and the combination ITEM_SID and SBS_NO is not unique.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Could be for example, that for an ITEM_SID and SBS_NO there are different dates (possibly same item but produced on different years or some sort of logic like that). and therefore the join is multiplying the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 15:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443923#M1236474</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-18T15:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate Data</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443924#M1236475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What i will do is to run the SQL SCRIPT one after the other and no where the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for you time and Knowledge. I do hope we will work together in stuffs like this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 16:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-Data/m-p/1443924#M1236475</guid>
      <dc:creator>oseimuduame</dc:creator>
      <dc:date>2017-12-18T16:17:29Z</dc:date>
    </item>
  </channel>
</rss>

