<?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 Load Script Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220031#M72979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create the two missing fields with null values or whatever you want: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Cust_ID,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Balance,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Age,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;MonthYear,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Curr_Val,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;' ' as FieldMissing1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;' ' as FieldMissing2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM &lt;C&gt; (txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2012 15:30:02 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-05-28T15:30:02Z</dc:date>
    <item>
      <title>Load Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220026#M72974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have an issue with my load script.&lt;/P&gt;&lt;P&gt;I have 6 months worth of data. 5 months contain 10 fields and one month contains 8 fields.&lt;/P&gt;&lt;P&gt;When I try to load the fields and store into a qvd, i get an error message for the month that has only 8 fields and all the other qvds are created apart from this one.&lt;/P&gt;&lt;P&gt;Is there any way I can do something to handle this missing field problem when creating my qvds so that it doesn't error and I actually create all the qvds in one go?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 12:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220026#M72974</guid>
      <dc:creator />
      <dc:date>2011-04-18T12:57:50Z</dc:date>
    </item>
    <item>
      <title>Load Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220027#M72975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;can you discribe your loading script that you are using&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 13:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220027#M72975</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-04-18T13:02:56Z</dc:date>
    </item>
    <item>
      <title>Load Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220028#M72976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushil,&lt;/P&gt;&lt;P&gt;My load script is as follows:&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Cust_ID,&lt;/P&gt;&lt;P&gt;Balance,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Age,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MonthYear,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Curr_Val&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM &lt;C&gt; (txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;Like I said earlier, the problem is I have multiple months of data and 5 fields are in all the months I have apart from one month, so when I reload my application, the reload fails for one month of data as the fields Age and Curr_Val do not exist for one month only.&lt;/P&gt;&lt;P&gt;Is there any way I can do something to handle this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 08:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220028#M72976</guid>
      <dc:creator />
      <dc:date>2011-04-19T08:54:05Z</dc:date>
    </item>
    <item>
      <title>Load Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220029#M72977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to load monthyear separately qlikview will consider it as separate table and will create link on monthyear with your data.&lt;/P&gt;&lt;P&gt;Actually you many have multiple transactions with monthyear field so you have to use DISTINCT clause to retrieve unique monthyear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zubair Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 09:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220029#M72977</guid>
      <dc:creator />
      <dc:date>2011-04-19T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Load Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220030#M72978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi zebadguy,&lt;/P&gt;&lt;P&gt;first of all load the 5 month of data by applying condition in a qvd file say testdata.qvd. then concatenate it with data of month 6. try to understand the script below. first time dont use concatenate statement. I tried with a sample data and it is working..&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;cust_id,&lt;/P&gt;&lt;P&gt;balance,&lt;/P&gt;&lt;P&gt;age,&lt;/P&gt;&lt;P&gt;monthYear,&lt;/P&gt;&lt;P&gt;curr_val&lt;/P&gt;&lt;P&gt;from[.........]&lt;/P&gt;&lt;P&gt;where monthyear=6;&lt;/P&gt;&lt;P&gt;concatenate load * from testdata.qvd(qvd)&lt;/P&gt;&lt;P&gt;where monthyear&amp;lt;=5;&lt;/P&gt;&lt;P&gt;store Data into testdata.qvd;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 09:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220030#M72978</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2011-04-19T09:45:16Z</dc:date>
    </item>
    <item>
      <title>Load Script Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220031#M72979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could create the two missing fields with null values or whatever you want: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Cust_ID,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Balance,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Age,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;MonthYear,&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;Curr_Val,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;' ' as FieldMissing1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;STRONG&gt;' ' as FieldMissing2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM &lt;C&gt; (txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 15:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-Problem/m-p/220031#M72979</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-05-28T15:30:02Z</dc:date>
    </item>
  </channel>
</rss>

