<?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 AW:concatenate with resident load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239529#M90141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Claudio,&lt;/P&gt;&lt;P&gt;you load in the first table the field NameFile1 and than you want to load resident the same table, where exists the fieldcontent from NameFile1 (or NomeFile1) - Where do you create the variable, what is NameFile1 (or NomeFile1) resp. NameFile2 (or NomeFile1)? In the expression Where exists you have to enter first the Field already in QlikView loaded, than the Field, which is in this Loadstatement! But, both fields are just loaded!&lt;/P&gt;&lt;P&gt;p.e.&lt;/P&gt;&lt;P&gt;Table1: load field,field2,...,'File 1' as NameFile1 From Table1;&lt;/P&gt;&lt;P&gt;Table2: load field,field3,...,FieldX as NameFile2 From Table2 Where exists(NameFile1,FieldX);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Aug 2010 08:56:32 GMT</pubDate>
    <dc:creator>brenner_martina</dc:creator>
    <dc:date>2010-08-02T08:56:32Z</dc:date>
    <item>
      <title>concatenate with resident load</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239528#M90140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;&lt;/B&gt; &lt;B style="mso-bidi-font-weight: normal;"&gt;Hi all,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;&lt;/B&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;I cant' solve this problem.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;Actually the script works perfectly but I have to do 2 load resident tables&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;instead of one.&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold; mso-bidi-font-weight: normal"&gt;There are no error.&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;If some "," or ";" is missing it is a&lt;/B&gt; mistake of reduction script's line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rem --------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;Rem CONCATENATE ;&lt;/P&gt;&lt;P&gt;Rem ------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MovimentiDrop:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Article,Color,Quantity,'File1' as NameFile1;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM BPINEG.DIHMVTFP&lt;/P&gt;&lt;P&gt;WHERE DEDATE&amp;gt;=$(vStartSql);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;Concatenate (MovimentiDrop)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Article,Color,Quantity,'File2' as NameFile2;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM BPIFIC.BGLOBAL5&lt;/P&gt;&lt;P&gt;and WKDATA&amp;gt;$(vStartSql);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;Noconcatenate&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rem --------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;Rem READ &amp;amp; APPLY COST ;&lt;/P&gt;&lt;P&gt;Rem ------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FileCosti:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM BPINEG.BIFORMFP&lt;/P&gt;&lt;P&gt;where FODATA&amp;gt;=$(vStartSql);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="mso-bidi-font-weight: normal;"&gt;LEFT JOIN (MovimentiDrop)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;StartDate + IterNo() -1 AS DataCalcolata33,&lt;/P&gt;&lt;P&gt;((100-Eur_Additional)/100) as EurAdditional,&lt;/P&gt;&lt;P&gt;RESIDENT FileCosti&lt;/P&gt;&lt;P&gt;WHILE StartDate + IterNo() - 1 &amp;lt;=EndDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rem --------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;Rem PROBLEM ;&lt;/P&gt;&lt;P&gt;Rem ------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Movimenti:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;(VekStd*EurAdditional) as VekAdditional&lt;/P&gt;&lt;P&gt;resident MovimentiDrop&lt;/P&gt;&lt;P&gt;where EXISTS(NomeFile1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;(VekStd*EurAdditional) as VekAdditional&lt;/P&gt;&lt;P&gt;resident MovimentiDrop&lt;/P&gt;&lt;P&gt;where EXISTS(NomeFile2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table MovimentiDrop;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rem --------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;Rem I would like (loading data 1 time) load both table&lt;/P&gt;&lt;P&gt;Rem IN THIS CASE THE SCRIPT LOAD ONLY ;&lt;/P&gt;&lt;P&gt;Rem THE FIRST TABLE (BPINEG.DIHMVTFP)&lt;/P&gt;&lt;P&gt;Rem ------------------------------------------------------------------------- ;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;(VekStd*EurAdditional) as VekAdditional&lt;/P&gt;&lt;P&gt;resident MovimentiDrop;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 08:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239528#M90140</guid>
      <dc:creator />
      <dc:date>2010-08-02T08:44:05Z</dc:date>
    </item>
    <item>
      <title>AW:concatenate with resident load</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239529#M90141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Claudio,&lt;/P&gt;&lt;P&gt;you load in the first table the field NameFile1 and than you want to load resident the same table, where exists the fieldcontent from NameFile1 (or NomeFile1) - Where do you create the variable, what is NameFile1 (or NomeFile1) resp. NameFile2 (or NomeFile1)? In the expression Where exists you have to enter first the Field already in QlikView loaded, than the Field, which is in this Loadstatement! But, both fields are just loaded!&lt;/P&gt;&lt;P&gt;p.e.&lt;/P&gt;&lt;P&gt;Table1: load field,field2,...,'File 1' as NameFile1 From Table1;&lt;/P&gt;&lt;P&gt;Table2: load field,field3,...,FieldX as NameFile2 From Table2 Where exists(NameFile1,FieldX);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 08:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239529#M90141</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2010-08-02T08:56:32Z</dc:date>
    </item>
    <item>
      <title>AW:concatenate with resident load</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239530#M90142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:6pt 0cm;"&gt;Hi Martina,&lt;/P&gt;&lt;P style="margin:6pt 0cm;"&gt;thank you for your answer, problably i'm not been very clear.&lt;/P&gt;&lt;P style="margin:6pt 0cm;"&gt;I have used NameFile1 and NameFile2 to use it during EXIST (RESIDENT LOAD)&lt;/P&gt;&lt;P style="margin:6pt 0cm;"&gt;but I don't need to import NameFile1 and NameFile2&lt;/P&gt;&lt;P style="margin:6pt 0cm;"&gt;I need to import all records and I would like to do this:&lt;/P&gt;&lt;P style="margin:6pt 0cm;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;MovimentiDrop:&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;LOAD&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;Article,Color,Quantity;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;FROM BPINEG.DIHMVTFP&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;WHERE DEDATE&amp;gt;=$(vStartSql);&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;&lt;B style="mso-bidi-font-weight:normal;"&gt;Concatenate (MovimentiDrop)&lt;/B&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;LOAD&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;Article,Color,Quantity;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;FROM BPIFIC.BGLOBAL5&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;"&gt;and WKDATA&amp;gt;$(vStartSql);&lt;/P&gt;&lt;P style="margin:6pt 0cm;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;...&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;....&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;...&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;After join left I woul like import all record loaded from DIHMVTFP &amp;amp; BGLOBAL5&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;line-height:12pt;mso-line-height-rule:exactly;"&gt;Many Thanks&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 13:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-with-resident-load/m-p/239530#M90142</guid>
      <dc:creator />
      <dc:date>2010-08-02T13:49:03Z</dc:date>
    </item>
  </channel>
</rss>

