<?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: Join between Excel and ORACLE in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-between-Excel-and-ORACLE/m-p/1622292#M594318</link>
    <description>&lt;P&gt;You are not declaring v_custcode correctly.&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;LET v_custcode = peek('CUSTCODE_LIST', -1, 'SUM_COM');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 18:58:35 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-09-10T18:58:35Z</dc:date>
    <item>
      <title>Join between Excel and ORACLE</title>
      <link>https://community.qlik.com/t5/QlikView/Join-between-Excel-and-ORACLE/m-p/1622242#M594317</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I need your help with the following issue: I have to use an excel field in a sql where sentence.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;That's what I'm doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;DIM_TARGET_COM_AUX:&lt;BR /&gt;LOAD @1 as ID_EXT_AUX,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @3 as PACK_ID_AUX,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @5 as CUSTCODE_AUX,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; @7 as MSISDN_FECHA_AUX&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\S231660\Desktop\TARGET\asignacion_auto_promo_*.dat]&lt;BR /&gt;(txt, utf8, no labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;[SUM_COM]: LOAD concat(CHR(39) &amp;amp; CUSTCODE_AUX &amp;amp; CHR(39) ,',') AS CUSTCODE_LIST Resident DIM_TARGET_COM_AUX;&lt;/P&gt;&lt;P&gt;LET v_custcode = CUSTCODE_LIST;&lt;/P&gt;&lt;P&gt;CUSTOMER_ALL:&lt;BR /&gt;LOAD&lt;BR /&gt;CUSTOMER_ID;&lt;BR /&gt;SQL SELECT CUSTOMER_ID&lt;BR /&gt;FROM CUSTOMER_ALL&lt;BR /&gt;WHERE CUSTCODE in ( $(v_custcode) );&lt;/P&gt;&lt;P&gt;The problem is that at execution time I got an error saying that v_custode is empty, but in the SUM_COM table the field CUSTCODE_LIST is populated.&lt;/P&gt;&lt;P&gt;Can you help me on this? do you know a better way to do it?&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-between-Excel-and-ORACLE/m-p/1622242#M594317</guid>
      <dc:creator>shark33333</dc:creator>
      <dc:date>2019-09-10T18:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Join between Excel and ORACLE</title>
      <link>https://community.qlik.com/t5/QlikView/Join-between-Excel-and-ORACLE/m-p/1622292#M594318</link>
      <description>&lt;P&gt;You are not declaring v_custcode correctly.&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;LET v_custcode = peek('CUSTCODE_LIST', -1, 'SUM_COM');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Peek.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 18:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-between-Excel-and-ORACLE/m-p/1622292#M594318</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-10T18:58:35Z</dc:date>
    </item>
  </channel>
</rss>

