<?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 merge and replace field valuse in loadscript? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1945416#M1219550</link>
    <description>&lt;P&gt;Combination of Applymap and concatenate did the trick. Thank you &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 00:51:51 GMT</pubDate>
    <dc:creator>Mr_Pearl</dc:creator>
    <dc:date>2022-06-20T00:51:51Z</dc:date>
    <item>
      <title>How to merge and replace field valuse in loadscript?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1944339#M1219508</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We got table A which has some missing field values which I want to repalce with content of Table B in our load script. I browsed through lot of options like concatenation, replace, join etc., but couldnt figure out any option that would do what I want. Can anyone please share your knowledge,&lt;/P&gt;
&lt;P&gt;Table A:&lt;/P&gt;
&lt;TABLE width="459"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;ID&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Street&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Area&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Postcode&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Country&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;EntryDate&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Thirlstane&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;7307&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Germany&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;14/01/2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;54&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Amiens&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;281568&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Finland&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;4/02/2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;3&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;4&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;65&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Albacore&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;158&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Dubai&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;5/02/2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;5&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;Unknown&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD style="font-weight: 400;"&gt;6&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;NA&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;NA&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;NA&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;-&lt;/TD&gt;
&lt;TD style="font-weight: 400;"&gt;NA&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table B:&lt;/P&gt;
&lt;TABLE width="458px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;ID&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;Street&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Area&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Postcode&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Country&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;EntryDate&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;3&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;43&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;stillwater&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;56125&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;USA&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;5/01/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;5&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;20&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;sinclair&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;5558&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Australia&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;10/02/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;6&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;7&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Benny&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;985123&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;India&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;1/05/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output - Table A:&lt;/P&gt;
&lt;TABLE width="458px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;ID&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;Street&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Area&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Postcode&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Country&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;EntryDate&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;1&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Thirlstane&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;7307&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Germany&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;14/01/2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;2&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;54&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Amiens&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;281568&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Finland&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;4/02/2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;3&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;43&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;stillwater&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;56125&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;USA&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;5/01/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;4&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;65&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Albacore&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;158&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Dubai&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;5/02/2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;5&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;20&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;sinclair&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;5558&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;Australia&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;10/02/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="47px" style="font-weight: 400;"&gt;6&lt;/TD&gt;
&lt;TD width="60px" style="font-weight: 400;"&gt;7&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;Benny&lt;/TD&gt;
&lt;TD width="85px" style="font-weight: 400;"&gt;985123&lt;/TD&gt;
&lt;TD width="81px" style="font-weight: 400;"&gt;India&lt;/TD&gt;
&lt;TD width="100px" style="font-weight: 400;"&gt;1/05/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bascially I want the null, empty, 'NA', 'Unknown' values to be replaced with values in Table B. I spend hours on this with no solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 05:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1944339#M1219508</guid>
      <dc:creator>Mr_Pearl</dc:creator>
      <dc:date>2022-06-16T05:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge and replace field valuse in loadscript?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1944348#M1219509</link>
      <description>&lt;P&gt;What about something like this. (Adjust the first where clause to better fit your needs)&lt;/P&gt;
&lt;P&gt;Data: Load * From A &lt;EM&gt;Where EntryDate&amp;gt;0;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;concatenate (Data) LOAD * From B where not exists(ID);&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1944348#M1219509</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-06-16T06:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge and replace field valuse in loadscript?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1945416#M1219550</link>
      <description>&lt;P&gt;Combination of Applymap and concatenate did the trick. Thank you &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 00:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-merge-and-replace-field-valuse-in-loadscript/m-p/1945416#M1219550</guid>
      <dc:creator>Mr_Pearl</dc:creator>
      <dc:date>2022-06-20T00:51:51Z</dc:date>
    </item>
  </channel>
</rss>

