<?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: Load from textfile in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718531#M258165</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;If you use the Table Files... wizard in the script editor, you would use a fixed record file type. Skip 3 header lines and embedded labels (check that you do have label line or change the number of header lines). Set up the fixed field ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you click next, enter the transformation wizard. Here you can create filters to drop the non-data lines. For example, you could exclude all lines where the Code column (looks like column 2) is blank. That would remove the empty lines, ---- lines and totals. The wizard adds a filter clause to the file type statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then these non-data lines never get into your model and you dont need complex rules to remove or exclude them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 10:06:03 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-10-29T10:06:03Z</dc:date>
    <item>
      <title>Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718527#M258161</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;I'm trying to load data from a text file with little success.&lt;/P&gt;&lt;P&gt;First of all I'm struggeling with the delimitations.&lt;/P&gt;&lt;P&gt;Additionaly I need to figure out a way to apply the correct date to every row when loading into qlikview. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample text file attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69946_Capture.JPG.jpg" style="width: 620px; height: 328px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718527#M258161</guid>
      <dc:creator />
      <dc:date>2014-10-29T09:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718528#M258162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load @1:200,&lt;/P&gt;&lt;P&gt;If(@1:200 like '*Value Date*',Mid(@1:200,12,10),Peek(Date)) As Date&lt;/P&gt;&lt;P&gt;From [SampleReport.txt] (fix,Header is 6 lines);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718528#M258162</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-29T09:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718529#M258163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls provide a qvv example? Not really sure how to apply this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Olle &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718529#M258163</guid>
      <dc:creator />
      <dc:date>2014-10-29T09:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718530#M258164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 09:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718530#M258164</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-29T09:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718531#M258165</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;If you use the Table Files... wizard in the script editor, you would use a fixed record file type. Skip 3 header lines and embedded labels (check that you do have label line or change the number of header lines). Set up the fixed field ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you click next, enter the transformation wizard. Here you can create filters to drop the non-data lines. For example, you could exclude all lines where the Code column (looks like column 2) is blank. That would remove the empty lines, ---- lines and totals. The wizard adds a filter clause to the file type statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then these non-data lines never get into your model and you dont need complex rules to remove or exclude them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 10:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718531#M258165</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-10-29T10:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718532#M258166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is I haven't even managed to load the other data&amp;nbsp; so I have nothing to apply your solution to &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; Can you pls provide an example when you've loaded the below? From scratch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Account,&lt;/P&gt;&lt;P&gt;Code,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Amount,&lt;/P&gt;&lt;P&gt;D/C,&lt;/P&gt;&lt;P&gt;Reference,&lt;/P&gt;&lt;P&gt;Value Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 10:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718532#M258166</guid>
      <dc:creator />
      <dc:date>2014-10-29T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Load from textfile</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718533#M258167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your tip Jonathan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did as described and ended up with a nice and clean table!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when trying to load this I get the below error message.&lt;/P&gt;&lt;P&gt;Does not matter if I state the embedded label names instead. Same error occurs.&lt;/P&gt;&lt;P&gt;I do not understand why QV uses the @1:18 (and so on) even though labels are stated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what might be wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69971_Capture.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-textfile/m-p/718533#M258167</guid>
      <dc:creator />
      <dc:date>2014-10-29T12:36:59Z</dc:date>
    </item>
  </channel>
</rss>

