<?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: Reading data from .txt in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422493#M803330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you provide your expected output ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2017 10:56:54 GMT</pubDate>
    <dc:creator>woshua5550</dc:creator>
    <dc:date>2017-11-20T10:56:54Z</dc:date>
    <item>
      <title>Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422492#M803329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a flat file with rows representing tables.&lt;/P&gt;&lt;P&gt;The 1st table where the 1st two characters are 00 is the invoice and supplier details.&lt;/P&gt;&lt;P&gt;If the 1st two characters are between 1 and 50 then it is the second table with the allocations and amounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the invoice can be used to pay up to 50 times, different amounts and different allocations.&lt;/P&gt;&lt;P&gt;The challenge im facing is mapping the invoice information to relevant information in table two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached .txt there are two invoices. Under each invoice is the allocations information.&lt;/P&gt;&lt;P&gt;I also attached the qvw. Please assist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422492#M803329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422493#M803330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you provide your expected output ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 10:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422493#M803330</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-20T10:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422494#M803331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is my expected output, but instead it adds up the Amount for allocation 1 for both invoices and make it an amount for 1 invoice. same goes with allocation 2,3,4, and 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="732"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Record_Number&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Supplier_Name&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="111"&gt;Invoice_Number&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="116"&gt;Location_Allocation&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Project_Allocation&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="113"&gt;Allocation_Number&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;65 388.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;GAO PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV1526&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1238&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8962&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;01&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;16 356.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;GAO PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV1526&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5214&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8523&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;02&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1 966.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;GAO PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV1526&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;7852&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8230&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;03&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2 126.33&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;GAO PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV1526&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4789&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0987&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;04&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;1 200.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;GAO PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV1526&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4836&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;7892&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;05&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5.83&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Yak PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV2266&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;1244&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;7762&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;01&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;20 056.30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Yak PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV2266&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;5214&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8523&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;02&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8 644.50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Yak PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV2266&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;7852&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;8230&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;03&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;5 623.45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Yak PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV2266&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4789&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;0987&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;04&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;8 952.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;00&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Yak PTY LTD&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;INV2266&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4836&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;7892&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;05&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;456.83&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 732px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="111"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="116"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="113"&gt;&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 11:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422494#M803331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-20T11:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422495#M803332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hope this fulfill your reqirement &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD RowNo() as ID,&lt;BR /&gt;&amp;nbsp; [@1:2] as Record_Number, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@3:8] as Document_Type, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@9:15] as Invoice_Number,&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@17:24] as Document_Date,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@27:37] as Supplier_Name, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@48:65] as Supplier_Address,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@69:76] as City&lt;BR /&gt;FROM&lt;BR /&gt;[Dummy_data.txt]&lt;BR /&gt;(fix, codepage is 1252)&lt;BR /&gt;Where [@1:2]=00 ;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD Ceil(RowNo()/5) as ID,&lt;BR /&gt;&amp;nbsp; [@1:2] as Allocation_Number, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@9:16] as Amount, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@23:26] as&amp;nbsp; Location_Allocation,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@33:37] as Project_Allocation&lt;BR /&gt;FROM&lt;BR /&gt;[Dummy_data.txt]&lt;BR /&gt;(fix, codepage is 1252)&lt;BR /&gt;Where [@1:2]&amp;lt;&amp;gt;00;&lt;/P&gt;&lt;P&gt;DROP Field ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check my test file attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 10:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422495#M803332</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-21T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422496#M803333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Dave, It works very well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422496#M803333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-22T07:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422497#M803334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave, what if we have different number of records below 00 row?&lt;/P&gt;&lt;P&gt;Like for invoice1 we have 01 and 02 only, For invoice 2 we have 01,02,03, and for invoice 3 we have 01 only?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we replace the 5 with in the below function?&lt;/P&gt;&lt;P&gt;Ceil(RowNo()/5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 09:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422497#M803334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-22T09:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422498#M803335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh,that would be quite different, check this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 11:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422498#M803335</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-22T11:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422499#M803336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Dave &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422499#M803336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-22T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422500#M803337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same challenge. I implemented your solution but it only works when I read data from one file.&lt;/P&gt;&lt;P&gt;I have about 800 txt files and when I replace the file name with * in the script it doesn’t give the correct results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 11:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422500#M803337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-23T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reading data from .txt</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422501#M803338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just get rid of "Right Join" ,Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dummy_data:&lt;BR /&gt;LOAD RowNo()-[@1:2] as ID1,&lt;BR /&gt;&amp;nbsp; [@1:2] as Allocation_Number, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@9:16] as Amount, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@23:26] as&amp;nbsp; Location_Allocation,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@33:37] as Project_Allocation&lt;BR /&gt;FROM&lt;BR /&gt;[*.txt]&lt;BR /&gt;(fix, codepage is 1252)&lt;BR /&gt;Where [@1:2]&amp;lt;&amp;gt;00;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD ID1,Count(0) as ID2, RowNo() as ID&lt;BR /&gt;Resident Dummy_data&lt;BR /&gt;Group by ID1;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dummy_data2:&lt;BR /&gt;LOAD RowNo() as ID,&lt;BR /&gt;&amp;nbsp; [@1:2] as Record_Number, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@3:8] as Document_Type, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@9:15] as Invoice_Number,&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@17:24] as Document_Date,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@27:37] as Supplier_Name, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@48:65] as Supplier_Address,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@69:76] as City&lt;BR /&gt;FROM&lt;BR /&gt;[*.txt]&lt;BR /&gt;(fix, codepage is 1252)&lt;BR /&gt;Where [@1:2]=00 ;&lt;/P&gt;&lt;P&gt;DROP Fields ID1,ID2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2017 12:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-data-from-txt/m-p/1422501#M803338</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-23T12:09:32Z</dc:date>
    </item>
  </channel>
</rss>

