<?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: &amp;quot;Transform&amp;quot; columns from different data sources in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395105#M696227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; in your expression write,&lt;/P&gt;&lt;P&gt;if(Code=999,'XP3',Code)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2013 13:32:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-24T13:32:48Z</dc:date>
    <item>
      <title>"Transform" columns from different data sources</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395103#M696225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I have a problem that I need some advice on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I have three datasources that are connected through the Main table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" _jivemacro_uid="_13668063611248252" class="jive_text_macro jive_macro_code  _jivemacro_uid_13668063611248252" style="background-color: #ffffff; color: #333333; padding: 1px; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302947998px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;P&gt;Main:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BranchNo, BranchName, Sales, Category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000, Head Office, 100,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001, Tyger Valley, 200,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0002, Klinikem, 200,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0003, Palm Grove, 400,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0004, Cape Gate, 2000,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0007, Oudehof, 9000,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0008, Sanlamhof, 500,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0006, Big Bay, 1000,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, Karlsruhe, 3000,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, Hamburg, 5000,3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; BranchNo, Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0002, 222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0003, 333&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0004, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0007, 444&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0008, 555&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0006, 222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, 999&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, 999&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Category, Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Miller&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Adams&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Bud&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;The Table Viewer:&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;IMG __jive_id="39641" alt="TableViewer.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/39641_TableViewer.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;In an ideal situation, I'd like to use the "Enable Transformation Step" that you can use when you import a txt/qvd file. But since the columns I want to transform are &lt;/SPAN&gt;scattered in different tables this cannot be used. (I think) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;In the example above, I want to fill the Column "Code" with the Column "Device" when the Code = 999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #333333; font-family: arial,helvetica,sans-serif; font-size: 13.6364px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;So in my Pivot-table I want the following to be displayed:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 803px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="148"&gt;BranchNo&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="147"&gt;BranchName&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="126"&gt;Code&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="98"&gt;Category&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="98"&gt;Device&lt;/TD&gt;&lt;TD class="xl67" width="186"&gt;sum(Sales)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Unknown&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Hamburg&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #339966;"&gt;XP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;Unknown&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Karlsruhe&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #339966;"&gt;XP3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0000&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Head Office&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0001&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Tyger Valley&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0002&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Klinikem&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP1&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0003&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Palm Grove&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;333&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0004&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Cape Gate&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0006&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Big Bay&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0007&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Oudehof&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;444&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP2&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;9000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;0008&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Sanlamhof&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;555&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from what it looks today:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 803px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="148"&gt;BranchNo&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="147"&gt;BranchName&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="126"&gt;Code&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Category&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="98"&gt;Device&lt;/TD&gt;&lt;TD class="xl65" width="186"&gt;sum(Sales)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Unknown&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Hamburg&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;999&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;Unknown&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Karlsruhe&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;999&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0000&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Head Office&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0001&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Tyger Valley&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0002&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Klinikem&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0003&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Palm Grove&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;333&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0004&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Cape Gate&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;111&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0006&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Big Bay&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;222&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0007&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Oudehof&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;444&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;9000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;0008&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Sanlamhof&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;555&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;XP3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Jonathan Alm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added QVW attachment&#xD;
Message was edited by: Jonathan Alm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 12:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395103#M696225</guid>
      <dc:creator>Jonathan_Alm</dc:creator>
      <dc:date>2013-04-24T12:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: "Transform" columns from different data sources</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395104#M696226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this perhaps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CodeMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; BranchNo, Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0002, 222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0003, 333&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0004, 111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0007, 444&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0008, 555&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0006, 222&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, 999&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Category, Name, Device&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Miller, XP1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Adams, XP2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Bud, XP3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;join &lt;/P&gt;&lt;P&gt;LOAD *, applymap('CodeMap',BranchNo,'999') as Code&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BranchNo, BranchName, Sales, Category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000, Head Office, 100,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0001, Tyger Valley, 200,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0002, Klinikem, 200,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0003, Palm Grove, 400,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0004, Cape Gate, 2000,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0007, Oudehof, 9000,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0008, Sanlamhof, 500,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0006, Big Bay, 1000,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, Karlsruhe, 3000,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unknown, Hamburg, 5000,3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Result:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BranchNo, BranchName, Sales, Category, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(Code='999',Device,Code) as Code&lt;/P&gt;&lt;P&gt;resident Temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;drop Table Temp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395104#M696226</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-24T13:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: "Transform" columns from different data sources</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395105#M696227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; in your expression write,&lt;/P&gt;&lt;P&gt;if(Code=999,'XP3',Code)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 13:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395105#M696227</guid>
      <dc:creator />
      <dc:date>2013-04-24T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: "Transform" columns from different data sources</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395106#M696228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. That was spot on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2013 06:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Transform-quot-columns-from-different-data-sources/m-p/395106#M696228</guid>
      <dc:creator>Jonathan_Alm</dc:creator>
      <dc:date>2013-04-25T06:41:16Z</dc:date>
    </item>
  </channel>
</rss>

