<?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 Error loading data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165793#M713658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm getting some strange fails when I try to load data....&lt;/P&gt;&lt;P&gt;First time, it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Load *&lt;BR /&gt;FROM myTB.qvd (qvd);&lt;BR /&gt;Load Field1,&lt;BR /&gt;Field2&lt;BR /&gt;FROM myJanFile.qvd (qvd);&lt;BR /&gt;CONCATENATE&lt;BR /&gt;Load Field1,&lt;BR /&gt;Field2&lt;BR /&gt;FROM myFebFile.qvd (qvd);&lt;BR /&gt;Load Account&lt;BR /&gt;FROM Accounts.xls&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This worked fine and I got the following, correct record counts:&lt;/P&gt;&lt;P&gt;myTB.qvd : 1,453,363 lines fetched&lt;/P&gt;&lt;P&gt;myJanFile.qvd: 7,696,810 lines fetched&lt;/P&gt;&lt;P&gt;myFebFile.qvd: 17,237,669 lines fetched&lt;/P&gt;&lt;P&gt;Accounts.xls: 2,949 lines fetched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then I thought I'd like to do some month to month analysis, so I included a myMonth field. First time I calculated it using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Month(DateField) as myMonth&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but when that didn't work I just entered it as text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;'Jan' as myMonth&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;on the January file, and 'Feb' on the February file.&lt;/P&gt;&lt;P&gt;In both cases the load failed half way through myFebFile.qvd - first time I got t0 15,306,772 lines fetched and second time it was 14,672,567 lines fetched. Neither time did QV go on to Accounts.xls&lt;/P&gt;&lt;P&gt;I'm hoping this isn't a memory issue as I have to add all the files for March, April and May!&lt;/P&gt;&lt;P&gt;Any help greatly appreciated,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 May 2010 15:16:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-26T15:16:57Z</dc:date>
    <item>
      <title>Error loading data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165793#M713658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm getting some strange fails when I try to load data....&lt;/P&gt;&lt;P&gt;First time, it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Load *&lt;BR /&gt;FROM myTB.qvd (qvd);&lt;BR /&gt;Load Field1,&lt;BR /&gt;Field2&lt;BR /&gt;FROM myJanFile.qvd (qvd);&lt;BR /&gt;CONCATENATE&lt;BR /&gt;Load Field1,&lt;BR /&gt;Field2&lt;BR /&gt;FROM myFebFile.qvd (qvd);&lt;BR /&gt;Load Account&lt;BR /&gt;FROM Accounts.xls&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This worked fine and I got the following, correct record counts:&lt;/P&gt;&lt;P&gt;myTB.qvd : 1,453,363 lines fetched&lt;/P&gt;&lt;P&gt;myJanFile.qvd: 7,696,810 lines fetched&lt;/P&gt;&lt;P&gt;myFebFile.qvd: 17,237,669 lines fetched&lt;/P&gt;&lt;P&gt;Accounts.xls: 2,949 lines fetched&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then I thought I'd like to do some month to month analysis, so I included a myMonth field. First time I calculated it using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;Month(DateField) as myMonth&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;but when that didn't work I just entered it as text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;'Jan' as myMonth&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;on the January file, and 'Feb' on the February file.&lt;/P&gt;&lt;P&gt;In both cases the load failed half way through myFebFile.qvd - first time I got t0 15,306,772 lines fetched and second time it was 14,672,567 lines fetched. Neither time did QV go on to Accounts.xls&lt;/P&gt;&lt;P&gt;I'm hoping this isn't a memory issue as I have to add all the files for March, April and May!&lt;/P&gt;&lt;P&gt;Any help greatly appreciated,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 15:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165793#M713658</guid>
      <dc:creator />
      <dc:date>2010-05-26T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Error loading data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165794#M713660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony,&lt;/P&gt;&lt;P&gt;If at all possible I would stamp the month on every row going into the QVD, rather than doing it on the way out. The reason for this is simply that if you do any manipulation of data when reading from a QVD (except renaming or dropping fields) it will switch from doing an Optimized load to a normal load. This will make your load from QVD literally 100 times slower.&lt;/P&gt;&lt;P&gt;Another route is to build a calendar table using an autogenerate that has all the various ways that you can look at a date. This works fine as long as your data set is not too massive. I have uploaded a script I use to my files area. just change MyDate to DateField:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/members/stevedark/files/Attached+Files/calendar-script.txt.aspx"&gt;http://community.qlik.com/members/stevedark/files/Attached+Files/calendar-script.txt.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hopefully one of those solutions will work for you.&lt;/P&gt;&lt;P&gt;My best guess on your original query is that it is a memory issue, based on the fact that the file is loading in non optimized load. QlikView has to load all the data uncompressed into memory before then compressing it down again. This could well cause issues. With that number of rows optimising the way data is stored is key. You could check my blog posting on performance for more information: http://bit.ly/bePwA7 .&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 15:56:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165794#M713660</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2010-05-26T15:56:46Z</dc:date>
    </item>
    <item>
      <title>Error loading data</title>
      <link>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165795#M713661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steve, I thought I might end up doing it on the way into the QVD. Just doing it now.....&lt;/P&gt;&lt;P&gt;Also, I was completely out of space on my server, so I don't suppose that was helping much.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 16:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-loading-data/m-p/165795#M713661</guid>
      <dc:creator />
      <dc:date>2010-05-26T16:28:02Z</dc:date>
    </item>
  </channel>
</rss>

