<?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 issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042601#M639256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is with &lt;STRONG&gt;JOIN s and multiple loading statements....Try load the tables independently and allow the Qlikview to&amp;nbsp; form the association ..if everything is ok then try to play with your conditional and join statements&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2016 09:51:19 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2016-04-04T09:51:19Z</dc:date>
    <item>
      <title>Duplicate data issue</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042599#M639254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've problem with one load of my script. In source table total BILL for &lt;SPAN style="font-size: 13.3333px;"&gt;company&lt;/SPAN&gt; AA is 505&lt;/P&gt;&lt;P&gt; Source&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellspacing="0"&gt;&lt;THEAD&gt;&lt;TR&gt;&lt;TH bgcolor="#c0c0c0"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;MEDNO&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH bgcolor="#c0c0c0"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;ACCTNUM&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH bgcolor="#c0c0c0"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;INVOICE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH bgcolor="#c0c0c0"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;BILL&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH bgcolor="#c0c0c0"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;DATE&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH bgcolor="#c0c0c0"&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;AMTPAID&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;14627&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;55552&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;165&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;11/6/1996&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;20514&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;56897&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;130&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;1/2/1997&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;29102&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;56970&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;155&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;1/6/1997&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;23955&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;AA&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;9700500&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;55&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;3/18/1997&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN style="font-size: 11pt; color: #000000; font-family: Calibri;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In file that I use for validation it also equal 505&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Validation:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" height="49" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 450px; border-width: 1px; border-style: solid; height: 48px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Account&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Current&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;1 - 30&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;31 - 60&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;61 - 90&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;91 - 120&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;121 - 150&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;151 +&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Total AR&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;AA&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$55&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$285&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$165&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;$505&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;But in my application it for some reason equeal 1120&lt;/P&gt;&lt;P&gt; Application:&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="1px" cellpadding="0" cellspacing="0" height="149" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 426px; border-width: 1px; border-style: solid; height: 68px;" width="424"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;ACCTNUM&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Patient&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;Sum ([Open Receivables])&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt; Total&lt;/TD&gt;&lt;TD class="xl64" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt; &lt;/TD&gt;&lt;TD class="xl65" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;1120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;AA&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;23955 - SHARMA,&amp;nbsp; B&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;55&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;AA&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;20514 - MCCORMACK,&amp;nbsp; M&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;260&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;AA&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;29102 - BARLTROP,&amp;nbsp; G&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;310&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;AA&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;14627 - ABRAMOVITZ,&amp;nbsp; M&lt;/TD&gt;&lt;TD class="xl66" style="color: #575757; text-align: left; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;495&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please look at my script and find issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO [MS Access Database;DBQ=C:\Users\Админ\Desktop\TestDevelop\Test\Data\QVPreSalesData.mdb];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Facts:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;MEDNO,&lt;/P&gt;&lt;P&gt;TX,&lt;/P&gt;&lt;P&gt;INVOICE,&lt;/P&gt;&lt;P&gt;ACCTNUM,&lt;/P&gt;&lt;P&gt;IF (IsNull(QUANTITY), 0, QUANTITY) As QUANTITY,&lt;/P&gt;&lt;P&gt;IF (IsNull(U_PRICE), 0, U_PRICE) As U_PRICE,&lt;/P&gt;&lt;P&gt;Date(ApplyMap('DateMap', DATE, Null())) as DATE&lt;/P&gt;&lt;P&gt;Where Year(DATE)&amp;gt;='1994';&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Treat;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Billing:&lt;/P&gt;&lt;P&gt;Join (Facts)&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)=0, 'Current',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)&amp;lt;=30, '1-30',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)&amp;lt;=60, '31-60',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)&amp;lt;=90, '61-90',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)&amp;lt;=120, '91-120',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)&amp;lt;=150, '121-150',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF($(varMaxDate) - Num(B_DATE)&amp;gt;150, '151+'))))))) AS Receivebles_Age; &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;INVOICE,&lt;/P&gt;&lt;P&gt;If(BILL &amp;gt; AMTPAID, &lt;/P&gt;&lt;P&gt;BILL - AMTPAID,0) as [Open Receivables],&lt;/P&gt;&lt;P&gt;Date(ApplyMap('DateMap', DATE, Null())) as B_DATE&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM txBilling;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;MEDNO&amp;amp;' '&amp;amp;'-'&amp;amp;' '&amp;amp;LNAME&amp;amp;','&amp;amp;'&amp;nbsp; '&amp;amp;FNAME AS Patient;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;MEDNO,&lt;/P&gt;&lt;P&gt;LNAME,&lt;/P&gt;&lt;P&gt;If(IsNum(FNAME) OR FNAME=' ', 'N.A.', FNAME) AS FNAME;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Patients;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Apr 2016 21:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042599#M639254</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2016-04-03T21:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data issue</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042600#M639255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's most likely that your JOIN duplicated records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's hard to tell in detail without knowing the input records of your SQL tables.&lt;/P&gt;&lt;P&gt;Or maybe you linked an invoice multiple times to patients. Your first tables seems not to be just doubled in amount, there seems to be some amount shifting also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post your document log?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, also important, on which version are you? There are issues with QV12SR1, so if you are on SR1, be warned that there are issues with JOIN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042600#M639255</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-04T09:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data issue</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042601#M639256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is with &lt;STRONG&gt;JOIN s and multiple loading statements....Try load the tables independently and allow the Qlikview to&amp;nbsp; form the association ..if everything is ok then try to play with your conditional and join statements&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 09:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042601#M639256</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-04-04T09:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data issue</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042602#M639257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joining creating duplicate value.&lt;/P&gt;&lt;P&gt;Temporally use below expression in front end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum (aggr (Distinct Sum(Distinct [Open Receivables]),Patient))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 10:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042602#M639257</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2016-04-04T10:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate data issue</title>
      <link>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042603#M639258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Besides all said about JOINs, aren't you comparing two different values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your first table, you show BILL values (aggregated?) per MEDNO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your last table, you are showing Open Receivables, which are derived from BILL using:&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;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;INVOICE,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;STRONG&gt;If(BILL &amp;gt; AMTPAID,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;STRONG&gt;BILL - AMTPAID,0) as [Open Receivables],&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Date(ApplyMap('DateMap', DATE, Null())) as B_DATE&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM txBilling;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I also assume there are multiple records / transactions for a bill and you essentially want an aggregate here?&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;Like&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;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;INVOICE,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;If(Only(BILL) &amp;gt; Sum(AMTPAID),&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Only(BILL) - Sum(AMTPAID),0) as [Open Receivables],&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;Date(ApplyMap('DateMap', Max(DATE), Null())) as B_DATE&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;GROUP BY INVOICE&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;FROM txBilling;&lt;/EM&gt;&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;Not sure about the aggregation functions we need to use in the LOAD, that's depending on your requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 10:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Duplicate-data-issue/m-p/1042603#M639258</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-04T10:40:27Z</dc:date>
    </item>
  </channel>
</rss>

