<?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 Column (String) comparison in Where clause of Load Resident ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171925#M41714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;I tried LEFT JOIN and it works. Infact, I was able to join 4 tables and the end result is only one clean table with all the desired rows.&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2009 01:12:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-08T01:12:16Z</dc:date>
    <item>
      <title>Column (String) comparison in Where clause of Load Resident ?</title>
      <link>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171921#M41710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt; I recently started using Qlikview and need some help on this issue:&lt;/P&gt;&lt;P&gt;I am trying to join two tables - one is a previously loaded table Combo_Table1 with another table TableC based on a column value which is a string&lt;/P&gt;&lt;P&gt;Combo_Table1:&lt;/P&gt;&lt;P&gt;LOAD "R_ID",&lt;BR /&gt; "START_DATE",&lt;BR /&gt; "UNIT_OF_MEASURE",&lt;BR /&gt; "UPDATE_FLAG",&lt;BR /&gt; "VENDOR_NAME";&lt;BR /&gt;select "R_ID",&lt;BR /&gt; "START_DATE",&lt;BR /&gt; "UNIT_OF_MEASURE",&lt;BR /&gt; "UPDATE_FLAG",&lt;BR /&gt; "VENDOR_NAME" from TableA;&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN SQL SELECT&lt;BR /&gt; ACTIVE,&lt;BR /&gt; PERIOD,&lt;BR /&gt; "R_ID",&lt;BR /&gt; "&lt;STRONG&gt;R_NAME&lt;/STRONG&gt;"&lt;BR /&gt;FROM TableB where ACTIVE = 'Y';&lt;/P&gt;&lt;P&gt;// Now I have another table TableC. Need to combine string column R_NAME of Combo_Table1 with TableC's string column CODE&lt;BR /&gt;// Also need to convert R_NAME string to uppercase&lt;BR /&gt;// TableC has columns ID,CODE,MEANING and COMMENTS&lt;BR /&gt;&lt;BR /&gt;// The below statement doesn't work. Getting syntax errors plus not sure how to combine a previously loaded table with another table using a WHERE clause.&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;BR /&gt; CODE,&lt;BR /&gt; MEANING,&lt;BR /&gt; COMMENTS&lt;BR /&gt;RESIDENT Combo_Table1&lt;BR /&gt;WHERE UPPER(R_NAME) = CODE&lt;BR /&gt;&lt;BR /&gt;Can I compare two columns containing Strings in LOAD where clause?&lt;BR /&gt;Can someone please advice me on how to accomplish this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 14:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171921#M41710</guid>
      <dc:creator />
      <dc:date>2009-12-02T14:53:45Z</dc:date>
    </item>
    <item>
      <title>Column (String) comparison in Where clause of Load Resident ?</title>
      <link>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171922#M41711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Combo_Table1:&lt;/P&gt;&lt;P&gt;LOAD "R_ID",&lt;BR /&gt; "START_DATE",&lt;BR /&gt; "UNIT_OF_MEASURE",&lt;BR /&gt; "UPDATE_FLAG",&lt;BR /&gt; "VENDOR_NAME";&lt;BR /&gt;select "R_ID",&lt;BR /&gt; "START_DATE",&lt;BR /&gt; "UNIT_OF_MEASURE",&lt;BR /&gt; "UPDATE_FLAG",&lt;BR /&gt; "VENDOR_NAME" from TableA;&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN SQL SELECT&lt;BR /&gt; ACTIVE,&lt;BR /&gt; PERIOD,&lt;BR /&gt; "R_ID",&lt;BR /&gt; Upper( "&lt;STRONG&gt;R_NAME&lt;/STRONG&gt;" ) as &lt;STRONG&gt;R_NAME&lt;/STRONG&gt;&lt;BR /&gt;FROM TableB where ACTIVE = 'Y';&lt;/P&gt;&lt;P&gt;TableC:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;Upper(CODE) as &lt;STRONG&gt;R_NAME&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;MEANING ,&lt;/P&gt;&lt;P&gt;COMMENTS from tableC ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will automatically link both the tables ..&lt;/P&gt;&lt;P&gt;please try out........&lt;/P&gt;&lt;P&gt;Hope this is the same ,you are looking for ............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 18:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171922#M41711</guid>
      <dc:creator />
      <dc:date>2009-12-02T18:11:01Z</dc:date>
    </item>
    <item>
      <title>Column (String) comparison in Where clause of Load Resident ?</title>
      <link>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171923#M41712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;Thanks for the reply. This was very helpful. I was able to connect TableC with Combo_Table1 with what you suggested.&lt;/P&gt;&lt;P&gt;The only minor change I did was I used RESIDENT. This is because the TableC is a huge table and I needed to restrict it with certain type.&lt;BR /&gt;Somehow when I tried to use WHERE clause in the LOAD statement, it gave me syntax error. So I had to load specific rows of TableC into TempTable first.&lt;/P&gt;&lt;P&gt;*********************************************&lt;BR /&gt;TempTable:&lt;BR /&gt;LOAD ID, CODE,MEANING, COMMENTS;&lt;BR /&gt;SELECT ID, CODE, MEANING, COMMENTS FROM TableC where LOOKUP_TYPE = 'T' ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Combo_Table1:&lt;BR /&gt;LOAD "R_ID",&lt;BR /&gt; "START_DATE",&lt;BR /&gt; "UNIT_OF_MEASURE",&lt;BR /&gt; "UPDATE_FLAG",&lt;BR /&gt; "VENDOR_NAME";&lt;BR /&gt;select "R_ID",&lt;BR /&gt; "START_DATE",&lt;BR /&gt; "UNIT_OF_MEASURE",&lt;BR /&gt; "UPDATE_FLAG",&lt;BR /&gt; "VENDOR_NAME" from TableA;&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN SQL SELECT&lt;BR /&gt; ACTIVE,&lt;BR /&gt; PERIOD,&lt;BR /&gt; "R_ID",&lt;BR /&gt; Upper( "R_NAME" ) as &lt;STRONG&gt;R_NAME&lt;BR /&gt;&lt;/STRONG&gt;FROM TableB where ACTIVE = 'Y';&lt;/P&gt;&lt;P&gt;TableC2:&lt;/P&gt;&lt;P&gt;Load ID,&lt;BR /&gt;Upper(CODE) as &lt;STRONG&gt;R_NAME&lt;/STRONG&gt;,&lt;BR /&gt;MEANING,&lt;BR /&gt;COMMENTS RESIDENT TempTable;&lt;/P&gt;&lt;P&gt;*******************************************&lt;BR /&gt;I have one question :&lt;BR /&gt;Is it possible to combine columns of both the Combo_Table1 and TableC2 and load into one final table ? Both the Combo_Table1 and FinalTable are logically connected thru &lt;STRONG&gt;R_NAME&lt;/STRONG&gt; column but I need to have only one table "FinalTable" from which I can select all the columns.&lt;BR /&gt;I tried using Load in different ways and not getting the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2009 07:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171923#M41712</guid>
      <dc:creator />
      <dc:date>2009-12-03T07:30:44Z</dc:date>
    </item>
    <item>
      <title>Column (String) comparison in Where clause of Load Resident ?</title>
      <link>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171924#M41713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;have you tried by joining the table ..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 15:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171924#M41713</guid>
      <dc:creator />
      <dc:date>2009-12-04T15:53:40Z</dc:date>
    </item>
    <item>
      <title>Column (String) comparison in Where clause of Load Resident ?</title>
      <link>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171925#M41714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;I tried LEFT JOIN and it works. Infact, I was able to join 4 tables and the end result is only one clean table with all the desired rows.&lt;/P&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 01:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-String-comparison-in-Where-clause-of-Load-Resident/m-p/171925#M41714</guid>
      <dc:creator />
      <dc:date>2009-12-08T01:12:16Z</dc:date>
    </item>
  </channel>
</rss>

