<?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: load missing values / discrepancy in values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569301#M597448</link>
    <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;I think I found another way to do this using Straight table instead.&lt;/P&gt;&lt;P&gt;Thank you for your time anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2019 09:55:38 GMT</pubDate>
    <dc:creator>bilzekek</dc:creator>
    <dc:date>2019-04-15T09:55:38Z</dc:date>
    <item>
      <title>load missing values / discrepancy in values</title>
      <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569238#M597443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two qvd files / tables with data that i want to compare. Source.qvd and target.qvd&lt;/P&gt;&lt;P&gt;in each table I have a customer number and customer name . The data in source.qvd will always be correct but there may be error in data found in target.qvd. I want to find all where customer name is incorrect in target.qvd and show in a table. For example i may have customer ID 232323 with name "example1" in source.qvd and in target.qvd it may be ID 232323 and name "example2". &amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution I have tried in script is:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;// first I load the two files to get an overview of data&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table_source:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(sourcename)) as Source_name,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(sourcenumber)) as Source_number&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(sourcenumber)) as %key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[source.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table_target:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(targetname)) as Target_name,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(targetnumber)) as Target_number&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(targetnumber)) as %key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[target.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;// I then load data again into a missing_name table to find discrepancies&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table_missing_name:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Text(Trim(sourcename)) as missing_name,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&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; Text(Trim(sourcenumber)) as %key&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[source.qvd] (qvd) where not Exists(Target_name, Text(Trim(sourcename)));&lt;/P&gt;&lt;P&gt;----------------------&lt;/P&gt;&lt;P&gt;This script above actually works pretty well but - somehow - it does not find all errors. I have used excel to check the above mentioned script and it seems that some clear error in names is not catched (the table_missing_name is empty for that particular customer ID).&lt;/P&gt;&lt;P&gt;Can someone help and to find what is wrong here?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 08:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569238#M597443</guid>
      <dc:creator>bilzekek</dc:creator>
      <dc:date>2019-04-15T08:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: load missing values / discrepancy in values</title>
      <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569250#M597444</link>
      <description>&lt;P&gt;Script quite okay to me, What is the issue on below?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70469"&gt;@bilzekek&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;somehow - it does not find all errors. I have used excel to check the above mentioned script and it seems that some clear error in names is not catched (the table_missing_name is empty for that particular customer ID).&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569250#M597444</guid>
      <dc:creator>saminea_ANZ</dc:creator>
      <dc:date>2019-04-15T09:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: load missing values / discrepancy in values</title>
      <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569255#M597445</link>
      <description>&lt;P&gt;When I checked the data manually in excel using =EXACT function, i Ifind discrepancies in customer name that Qlikview does not identify using this script.&lt;/P&gt;&lt;P&gt;So the issue is that the script does not return a table with all errors that exist between the data and I dont know why.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569255#M597445</guid>
      <dc:creator>bilzekek</dc:creator>
      <dc:date>2019-04-15T09:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: load missing values / discrepancy in values</title>
      <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569256#M597446</link>
      <description>&lt;P&gt;can you&amp;nbsp; share the minimum viable data set that demonstrate the issue?&lt;/P&gt;&lt;P&gt;is it possible that name might not be allocated to same number but still there in the list?&lt;/P&gt;&lt;P&gt;in that case use exist on concatenation of number and name.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569256#M597446</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-04-15T09:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: load missing values / discrepancy in values</title>
      <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569273#M597447</link>
      <description>&lt;P&gt;It will be dificult to share the dataset, so I hope that this screenshot demonstrates the issue:&lt;/P&gt;&lt;P&gt;I have selected 3 customer ID's from source.qvd that also are found in target.qvd. 1 has correct name and should not be found by the table_missing_name. Another is incorrect and is also found by the table_missing_name. The last (purple) is also incorrect but is not identified by the table_missing_name..&lt;/P&gt;&lt;P&gt;&lt;IMG width="1477" height="466" border="0" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikview.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10182i03AE29DD0E8A1282/image-size/large?v=v2&amp;amp;px=999" role="button" title="qlikview.png" alt="qlikview.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569273#M597447</guid>
      <dc:creator>bilzekek</dc:creator>
      <dc:date>2019-04-15T09:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: load missing values / discrepancy in values</title>
      <link>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569301#M597448</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;I think I found another way to do this using Straight table instead.&lt;/P&gt;&lt;P&gt;Thank you for your time anyway &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 09:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-missing-values-discrepancy-in-values/m-p/1569301#M597448</guid>
      <dc:creator>bilzekek</dc:creator>
      <dc:date>2019-04-15T09:55:38Z</dc:date>
    </item>
  </channel>
</rss>

