<?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 Resident table load with concetenation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Resident-table-load-with-concetenation/m-p/2010447#M1221738</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;Hoping for some assistance. The below code is designed to concatenate two files before doing a resident load and storing in a QVD. For some reason I keep getting an error message that the table name 'APPDATAFULLALL' is not found. Could someone please take a look and let me know where I'm going wrong?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Matt&lt;/P&gt;
&lt;P&gt;APPDATAFULLALL:&lt;BR /&gt;LOAD * FROM [lib://&amp;lt;file path&amp;gt;/APP_DATA_FULL.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;Concatenate&lt;/P&gt;
&lt;P&gt;LOAD * FROM [lib://&amp;lt;file path&amp;gt;/APP_DATA_FULL_OLD.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Table0:&lt;BR /&gt;&lt;BR /&gt;LOAD &lt;BR /&gt;Left(ACAD_SESSION,4) &amp;amp; '/' &amp;amp; Right(Left(ACAD_SESSION,4)+1,2) as Session, &lt;BR /&gt;Date(Date#(RUN_DATE, 'DD/MM/YYYY'),'DD/MM/YYYY') as Date, &lt;BR /&gt;APPLICANT_ID as [Applicant ID], &lt;BR /&gt;SCHOOL as School,&lt;BR /&gt;NATIONALITY as Nationality, &lt;BR /&gt;PROGRAMME as Programme, &lt;BR /&gt;PROG_CODE as [Programme code], &lt;BR /&gt;LVL as Level, &lt;BR /&gt;MODE_STUDY as Mode, &lt;BR /&gt;STAGE as Stage, &lt;BR /&gt;PREVIOUS_INST as [Previous Institution], &lt;BR /&gt;DOMICILE as Domicile, &lt;BR /&gt;DATE_OF_BIRTH as [Date Of Birth], &lt;BR /&gt;if (Age(Today(),[Date Of Birth])&amp;gt;20,'Mature','Young') as [Young/Mature],&lt;BR /&gt;MapSubString('FeesMapping',FEE_STAT) as Fees, &lt;BR /&gt;MapSubString('SIMDMapping',SIMD_QUINT) as [SIMD Quintile], &lt;BR /&gt;//MATURE, &lt;BR /&gt;DISABILITY as Disability,&lt;BR /&gt;if(DISABILITY='None','None','Declared') as [Disability Groupings], &lt;BR /&gt;ETHNICITY as Ethnicity,&lt;BR /&gt;if(ETHNICITY='White','White',if(ETHNICITY='White - Scottish','White',&lt;BR /&gt;if(ETHNICITY='','','BME'))) as [Ethnicity Groupings], &lt;BR /&gt;GENDER as Gender, &lt;BR /&gt;ENTRY_QUALIFICATION as [Entry Qualification], &lt;BR /&gt;POSTCODE as Postcode,&lt;BR /&gt;SubField(POSTCODE,' ',1) as [Partial Postcode], &lt;BR /&gt;CONTEXTUAL as Contextual, &lt;BR /&gt;SHEP, &lt;BR /&gt;STEM, &lt;BR /&gt;ENTRY_SYSTEM as [Application Type], &lt;BR /&gt;OFFER_STATUS as [Offer Status]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RESIDENT [APPDATAFULLALL];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;DROP TABLE [APPDATAFULLALL];&lt;/P&gt;
&lt;P&gt;store Table0 into [lib://&amp;lt;file path&amp;gt;/AppsNew.qvd];&lt;/P&gt;
&lt;P&gt;DROP TABLE Table0;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 14:45:05 GMT</pubDate>
    <dc:creator>mattphillip</dc:creator>
    <dc:date>2022-11-29T14:45:05Z</dc:date>
    <item>
      <title>Resident table load with concetenation</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-table-load-with-concetenation/m-p/2010447#M1221738</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;Hoping for some assistance. The below code is designed to concatenate two files before doing a resident load and storing in a QVD. For some reason I keep getting an error message that the table name 'APPDATAFULLALL' is not found. Could someone please take a look and let me know where I'm going wrong?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;/P&gt;
&lt;P&gt;Matt&lt;/P&gt;
&lt;P&gt;APPDATAFULLALL:&lt;BR /&gt;LOAD * FROM [lib://&amp;lt;file path&amp;gt;/APP_DATA_FULL.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;Concatenate&lt;/P&gt;
&lt;P&gt;LOAD * FROM [lib://&amp;lt;file path&amp;gt;/APP_DATA_FULL_OLD.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Table0:&lt;BR /&gt;&lt;BR /&gt;LOAD &lt;BR /&gt;Left(ACAD_SESSION,4) &amp;amp; '/' &amp;amp; Right(Left(ACAD_SESSION,4)+1,2) as Session, &lt;BR /&gt;Date(Date#(RUN_DATE, 'DD/MM/YYYY'),'DD/MM/YYYY') as Date, &lt;BR /&gt;APPLICANT_ID as [Applicant ID], &lt;BR /&gt;SCHOOL as School,&lt;BR /&gt;NATIONALITY as Nationality, &lt;BR /&gt;PROGRAMME as Programme, &lt;BR /&gt;PROG_CODE as [Programme code], &lt;BR /&gt;LVL as Level, &lt;BR /&gt;MODE_STUDY as Mode, &lt;BR /&gt;STAGE as Stage, &lt;BR /&gt;PREVIOUS_INST as [Previous Institution], &lt;BR /&gt;DOMICILE as Domicile, &lt;BR /&gt;DATE_OF_BIRTH as [Date Of Birth], &lt;BR /&gt;if (Age(Today(),[Date Of Birth])&amp;gt;20,'Mature','Young') as [Young/Mature],&lt;BR /&gt;MapSubString('FeesMapping',FEE_STAT) as Fees, &lt;BR /&gt;MapSubString('SIMDMapping',SIMD_QUINT) as [SIMD Quintile], &lt;BR /&gt;//MATURE, &lt;BR /&gt;DISABILITY as Disability,&lt;BR /&gt;if(DISABILITY='None','None','Declared') as [Disability Groupings], &lt;BR /&gt;ETHNICITY as Ethnicity,&lt;BR /&gt;if(ETHNICITY='White','White',if(ETHNICITY='White - Scottish','White',&lt;BR /&gt;if(ETHNICITY='','','BME'))) as [Ethnicity Groupings], &lt;BR /&gt;GENDER as Gender, &lt;BR /&gt;ENTRY_QUALIFICATION as [Entry Qualification], &lt;BR /&gt;POSTCODE as Postcode,&lt;BR /&gt;SubField(POSTCODE,' ',1) as [Partial Postcode], &lt;BR /&gt;CONTEXTUAL as Contextual, &lt;BR /&gt;SHEP, &lt;BR /&gt;STEM, &lt;BR /&gt;ENTRY_SYSTEM as [Application Type], &lt;BR /&gt;OFFER_STATUS as [Offer Status]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RESIDENT [APPDATAFULLALL];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;DROP TABLE [APPDATAFULLALL];&lt;/P&gt;
&lt;P&gt;store Table0 into [lib://&amp;lt;file path&amp;gt;/AppsNew.qvd];&lt;/P&gt;
&lt;P&gt;DROP TABLE Table0;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-table-load-with-concetenation/m-p/2010447#M1221738</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2022-11-29T14:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Resident table load with concetenation</title>
      <link>https://community.qlik.com/t5/QlikView/Resident-table-load-with-concetenation/m-p/2010451#M1221739</link>
      <description>&lt;P&gt;I don't see anything wrong with the code - I ran a stripped down version of the same thing without issues:&lt;/P&gt;
&lt;P&gt;APPDATAFULLALL:&lt;BR /&gt;LOAD 1 as Field Autogenerate(1);&lt;/P&gt;
&lt;P&gt;Concatenate&lt;/P&gt;
&lt;P&gt;LOAD 2 as Field Autogenerate(1);&lt;/P&gt;
&lt;P&gt;Table0:&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;Field as Field2&lt;BR /&gt;RESIDENT [APPDATAFULLALL];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;DROP TABLE [APPDATAFULLALL];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you perhaps have another table already loaded with the exact same fields, earlier in your script? If that is the case, you need to use NOCONCATENATE Load for your APPDATAFULLALL table to avoid automatic concatenation of tables with identical fields.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Resident-table-load-with-concetenation/m-p/2010451#M1221739</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-11-29T14:51:27Z</dc:date>
    </item>
  </channel>
</rss>

