<?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: How to prevent load inaccurate information... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900052#M1006574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you recommend me to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2015 18:00:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-20T18:00:52Z</dc:date>
    <item>
      <title>How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900046#M1006568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Hi everybody!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;I just created a backorder app:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Our ideal billing process is for every Cust PO&amp;nbsp; one invoice is created, however that is not happening and sometimes one Customer PO is related with 2 different invoices,showing unreal Back-orders.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;CustPO: 0029075 is related with 2 invoices: &lt;STRONG style="text-decoration: underline;"&gt;SI015361&lt;/STRONG&gt; and &lt;STRONG style="text-decoration: underline;"&gt;SI015362&lt;/STRONG&gt;. This causes that the report show unreal BO, for example the first LineNo_"&lt;STRONG style="text-decoration: underline;"&gt;200000&lt;/STRONG&gt;" on the report has &lt;STRONG&gt;$1,706&lt;/STRONG&gt; on PO Amount, but &lt;STRONG&gt;0&lt;/STRONG&gt; invoiced, meaning that the line is consider as a BO, but the second row same item (&lt;STRONG style="text-decoration: underline;"&gt;I7051&lt;/STRONG&gt;) and same &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;LineNo_"&lt;STRONG style="text-decoration: underline;"&gt;200000&lt;/STRONG&gt;" &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;show &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;STRONG&gt;$1,706&lt;/STRONG&gt; on PO Amount and $&lt;STRONG&gt;1,706 invoiced&lt;/STRONG&gt; NO BO. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Hence the first it is not consider a BO, so this should not be shown in the report. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;EM style=": ; font-size: 12pt; text-decoration: underline;"&gt;However if the CustPO is related to only one invoice sometimes the PO amount can be 0, that means that was zero inventory so the total line is a BO&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87062_Capture.JPG" style="height: 257px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;I think that writing an IF statement on the script can be a good approach to &lt;SPAN style="text-decoration: underline;"&gt;not show&lt;/SPAN&gt; duplicated keys, or a firstsortedvalue, but I do not know how to do so. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;Any thoughts?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt;"&gt;Thank you &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;very&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt;"&gt; much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F2F2F2;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt;"&gt;Have a fantastic day!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 15:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900046#M1006568</guid>
      <dc:creator />
      <dc:date>2015-05-20T15:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900047#M1006569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have some criteria to tell which invoice is correct, &lt;SPAN style="color: #3d3d3d; font-family: Helvetica;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;SI015361&lt;/STRONG&gt; or &lt;STRONG style="text-decoration: underline;"&gt;SI015362&lt;/STRONG&gt;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;If you don't care, and just want to use any of them, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;#CustPO,&lt;/P&gt;&lt;P&gt;maxstring(Invoice) as Invoice&lt;/P&gt;&lt;P&gt;FROM &amp;lt;your data source&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (table) LOAD&lt;/P&gt;&lt;P&gt;#CustPO,&lt;/P&gt;&lt;P&gt;Invoice,&lt;/P&gt;&lt;P&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // all fields you need&lt;/P&gt;&lt;P&gt;FROM &amp;lt;your data source&amp;gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 16:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900047#M1006569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T16:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900048#M1006570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael thank you for your prompt response, yes there's a way to identify them &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, If the combination CustPO &amp;amp; the Line No is equal and second if that combination is related to different Invoices, then the latter is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached image below. Both conditions are met, so the second line is incorrect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a Key called 'KeyDup' that JOINS CustPO&amp;amp;'|'&amp;amp;Line_No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87073_Capture1.JPG" style="height: 50px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 16:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900048#M1006570</guid>
      <dc:creator />
      <dc:date>2015-05-20T16:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900049#M1006571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK Eric,&lt;/P&gt;&lt;P&gt;The key is useful, it will replace #CustPO in my script above.&amp;nbsp; Something is still missing.&amp;nbsp; The "second" line depends on sort order.&amp;nbsp; For this sample data, my script above works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 17:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900049#M1006571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T17:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900050#M1006572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the information does not load in a particular sort order, do I need to use &lt;STRONG style="font-size: 13px; font-family: 'courier new', courier; color: #737373;"&gt;Order By "THE KEY I CREATED" on my script?? Do you think that will work?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'courier new', courier; color: #737373;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'courier new', courier; color: #737373;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 17:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900050#M1006572</guid>
      <dc:creator />
      <dc:date>2015-05-20T17:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900051#M1006573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, because the value of the key is the same for correct and incorrect record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 17:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900051#M1006573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T17:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900052#M1006574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you recommend me to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 18:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900052#M1006574</guid>
      <dc:creator />
      <dc:date>2015-05-20T18:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900053#M1006575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the solution I've suggested in my first reply.&amp;nbsp; If it doesn't work - upload a sample of application with explanation what is expected, what is wrong, and why you consider it wrong.&lt;/P&gt;&lt;P&gt;For example, in your last screenshot, you declared that the 2nd line is wrong, but still didn't explain why, except that it is "the second".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 18:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900053#M1006575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-20T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent load inaccurate information...</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900054#M1006576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will thank you Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 18:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-prevent-load-inaccurate-information/m-p/900054#M1006576</guid>
      <dc:creator />
      <dc:date>2015-05-20T18:19:02Z</dc:date>
    </item>
  </channel>
</rss>

