<?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: Ignore a column and still load in the file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113736#M17622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A specified field must always exists - otherwise the load will fail with an error (errors could in general be skipped but in this case it won't be useful because the data won't be loaded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to handle it will be to move the new csv's into another folder and just using two different load-statements whereby the second load-statement get a concatenate(FirstTable) prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also quite easy is it to use a dummy-load and concatenate your csv there with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstTable: load 'dummy' as Dummy autogenerate 0;&lt;/P&gt;&lt;P&gt;concatenate(FirstTable) load * from csv;&lt;/P&gt;&lt;P&gt;drop field Dummy; // maybe further fields if you don't need all from the csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also possible but with more efforts is to load the files with a filelist-loop and checking there within an in front load if this field exists to brach in different load-statements and/or reading all existing fields in variables and creating with them a load-statement on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2018 12:53:44 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2018-08-07T12:53:44Z</dc:date>
    <item>
      <title>Ignore a column and still load in the file</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113733#M17619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading in multiple CSVs and there has been a new column added to the new CSVs. I've noticed it will not load in the old ones that are missing the new column. Is there a way to ignore the error and still load in all the CSVs and just put nulls under the columns for the older CSVs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113733#M17619</guid>
      <dc:creator>groveliam</dc:creator>
      <dc:date>2018-08-07T12:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore a column and still load in the file</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113734#M17620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you put some example or your code please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113734#M17620</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-08-07T12:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore a column and still load in the file</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113735#M17621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;supposing you keep all your csvs, and that you have identified the date (&lt;SPAN style="font-size: 13.3333px;"&gt;datefield&lt;/SPAN&gt;) when this column was added;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your_table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;a,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;'' as c,&amp;nbsp; //your column storing null when datefield is inf than change date&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;datefield&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from X &lt;SPAN style="font-size: 10pt;"&gt;where datefield &amp;lt; '01/08/2018'; //date from wich the column was added&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;a,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;b,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;c,&amp;nbsp; //your column&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;datefield&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from X &lt;SPAN style="font-size: 10pt;"&gt;where datefield &amp;gt;= '01/08/2018'; //date from wich the column was added&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113735#M17621</guid>
      <dc:creator>kfoudhaily</dc:creator>
      <dc:date>2018-08-07T12:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore a column and still load in the file</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113736#M17622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A specified field must always exists - otherwise the load will fail with an error (errors could in general be skipped but in this case it won't be useful because the data won't be loaded).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to handle it will be to move the new csv's into another folder and just using two different load-statements whereby the second load-statement get a concatenate(FirstTable) prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also quite easy is it to use a dummy-load and concatenate your csv there with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstTable: load 'dummy' as Dummy autogenerate 0;&lt;/P&gt;&lt;P&gt;concatenate(FirstTable) load * from csv;&lt;/P&gt;&lt;P&gt;drop field Dummy; // maybe further fields if you don't need all from the csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also possible but with more efforts is to load the files with a filelist-loop and checking there within an in front load if this field exists to brach in different load-statements and/or reading all existing fields in variables and creating with them a load-statement on the fly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113736#M17622</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-08-07T12:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore a column and still load in the file</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113737#M17623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;You can set Errormode in the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;set ErrorMode=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 14px; font-family: 'Open Sans', Arial, sans-serif;"&gt;It will simply ignore the failure and continue script execution at the next script statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 14px; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 14px; font-family: 'Open Sans', Arial, sans-serif;"&gt;More details are available in the below link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 14px; font-family: 'Open Sans', Arial, sans-serif;"&gt;&lt;A href="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/ErrorVariables/ErrorMode.htm" title="https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/ErrorVariables/ErrorMode.htm"&gt;https://help.qlik.com/en-US/sense/June2018/Subsystems/Hub/Content/Scripting/ErrorVariables/ErrorMode.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 13:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113737#M17623</guid>
      <dc:creator>sibin_jacob</dc:creator>
      <dc:date>2018-08-07T13:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore a column and still load in the file</title>
      <link>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113738#M17624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use concatenate .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 13:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ignore-a-column-and-still-load-in-the-file/m-p/113738#M17624</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-08-07T13:44:46Z</dc:date>
    </item>
  </channel>
</rss>

