<?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 How can I create a derived field in load script based on two sources??? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168350#M712203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks Deepak... works well... had to tweak a couple of commas and colons but works well... thanks... Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2011 11:43:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-18T11:43:21Z</dc:date>
    <item>
      <title>How can I create a derived field in load script based on two sources???</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168348#M712199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello...&lt;/P&gt;&lt;P&gt;I can add derived fields in the script in each individual load source but...&lt;/P&gt;&lt;P&gt;I can't figure out how to add a derived field based on a field from each of the 2 sources...&lt;/P&gt;&lt;P&gt;This is the field I want to create:&lt;/P&gt;&lt;P&gt;IF(DATE_OF_ORDER &amp;gt;= INCEPTION_DATE, 'TRUE', 'FALSE') AS T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO Blah (XUserId is ZJTREVFLZGHXcMSLZKGXVT, XPassword is DKLBJOPbaKGZFHKE);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TRACKER:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"DATE_OF_ORDER",&lt;BR /&gt;"POLICY_NO";&lt;BR /&gt;SQL SELECT * FROM TRACKER;&lt;/P&gt;&lt;P&gt;POLICY:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"INCEPTION_DATE",&lt;BR /&gt;"POLICY_NO";&lt;BR /&gt;SQL SELECT * FROM POLICY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice most welcome... thanks, Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 11:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168348#M712199</guid>
      <dc:creator />
      <dc:date>2011-03-18T11:10:30Z</dc:date>
    </item>
    <item>
      <title>How can I create a derived field in load script based on two sources???</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168349#M712201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;YOu can do it below way&lt;/P&gt;&lt;P&gt;PolicyInfo:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"DATE_OF_ORDER",&lt;BR /&gt;"POLICY_NO";&lt;BR /&gt;SQL SELECT * FROM TRACKER;&lt;/P&gt;&lt;P&gt;JOin&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;"INCEPTION_DATE",&lt;BR /&gt;"POLICY_NO";&lt;BR /&gt;SQL SELECT * FROM POLICY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;"POLICY_NO";&lt;BR /&gt;if(Date_Of_Order &amp;gt;= inception_Date ='true','False') as t1,&lt;/P&gt;&lt;P&gt;resident PolicyInfo&lt;/P&gt;&lt;P&gt;drop table PolicyInfo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 11:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168349#M712201</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-03-18T11:14:19Z</dc:date>
    </item>
    <item>
      <title>How can I create a derived field in load script based on two sources???</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168350#M712203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks Deepak... works well... had to tweak a couple of commas and colons but works well... thanks... Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 11:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-create-a-derived-field-in-load-script-based-on-two/m-p/168350#M712203</guid>
      <dc:creator />
      <dc:date>2011-03-18T11:43:21Z</dc:date>
    </item>
  </channel>
</rss>

