<?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: Text file Transformation Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565411#M210978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great!&amp;nbsp; Exactly what I needed. I was going down a different path but your version is much simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 15:26:33 GMT</pubDate>
    <dc:creator>regowins</dc:creator>
    <dc:date>2014-02-11T15:26:33Z</dc:date>
    <item>
      <title>Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565404#M210971</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 am trying to source a text file using the fixed records file type and then do a conditional delete transformation on the rows I do not want.&amp;nbsp; The Transformed script looks like the below:&amp;nbsp; However, when I realod the document I get an error (attached) message saying &lt;STRONG&gt;'Field not found - &amp;lt;@1:8&amp;gt;' &lt;/STRONG&gt; Not sure what is causing this .&amp;nbsp; If I dont do any transformation the table loads fine with the fixed records.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 10pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="color: #800000;"&gt;@1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;:8 as ID, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @9:14 as Gross, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @15:43 as Client_Name, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @44:55 as City, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @56:64 as State, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @65:77 as Invoice, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @78:88 as Change, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @89:98 as Amount, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @99:112 as Number, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @113:n as Date&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Example.TXT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;(fix, codepage is 1252, header is 8 lines, filters(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(null))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'TO'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'RE'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, '--'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'A/'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'AC'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'WI'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'CH'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 7, StrCnd(contain, 'XX'))),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;Remove(Row, RowCnd(CellValue, 7, StrCnd(contain, 'A/R')))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt;)); &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 15:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565404#M210971</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2014-02-10T15:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565405#M210972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try putting square brackets around the field names. For example [@1:8]&amp;nbsp; as Gross. Alternatively you could try using a where clause. Can you post a sample txt file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 16:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565405#M210972</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-10T16:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565406#M210973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried using the square brackets and it still did not work.&amp;nbsp; I have attached the example text file.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 16:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565406#M210973</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2014-02-10T16:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565407#M210974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;starting from&amp;nbsp; Gysbert directions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='€ #.##0,00;-€ #.##0,00';&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='DD/MM/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';&lt;/P&gt;&lt;P&gt;SET DayNames='lun;mar;mer;gio;ven;sab;dom';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load RowNo() as RN,* &lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;len(trim(State))&amp;gt;0&lt;/P&gt;&lt;P&gt;and not WildMatch(State, 'TO', 'RE', '--', 'A/', 'AC', 'WI', 'CH')&lt;/P&gt;&lt;P&gt;and not WildMatch(State, 'A/R', 'STATE')&lt;/P&gt;&lt;P&gt;//and not WildMatch(Change, 'XX', 'A/R')&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(null))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'TO'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'RE'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, '--'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'A/'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'AC'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'WI'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'CH'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 7, StrCnd(contain, 'XX'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 7, StrCnd(contain, 'A/R'))) &lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; [@1:8] as ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@9:14] as Gross, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@15:43] as Client_Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@44:55] as City, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@56:64] as State, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@65:77] as Invoice, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@78:88] as Change, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@89:98] as Amount, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@99:112] as Number, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [@113:n] as Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Example.TXT&lt;/P&gt;&lt;P&gt;(fix, codepage is 1252, header is 8 lines&lt;/P&gt;&lt;P&gt;//, &lt;/P&gt;&lt;P&gt;//filters(&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(null))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'TO'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'RE'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, '--'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'A/'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'AC'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'WI'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 5, StrCnd(contain, 'CH'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 7, StrCnd(contain, 'XX'))),&lt;/P&gt;&lt;P&gt;//Remove(Row, RowCnd(CellValue, 7, StrCnd(contain, 'A/R')))&lt;/P&gt;&lt;P&gt;//)&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 16:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565407#M210974</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-10T16:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565408#M210975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD @1:8 as ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @9:14 as Gross,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @15:43 as Client_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @44:55 as City,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @56:64 as State,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @65:77 as Invoice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @78:88 as Change,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @89:98 as Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @99:112 as Number,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @113:n as Date&lt;/P&gt;&lt;P&gt;FROM comm106893.txt&lt;/P&gt;&lt;P&gt;(fix, codepage is 1252, header is 8 lines)&lt;/P&gt;&lt;P&gt;where @65:77 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as your invoice numbers are numbers this will work. @65:77 will be a number and therfore evaluated as TRUE, which is why where @65:77 will load only the records where Invoice is a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 16:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565408#M210975</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-10T16:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565409#M210976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both solutions worked!&amp;nbsp; However this is part of another question I had &lt;A href="https://community.qlik.com/thread/106705"&gt;Bring Text file into QV with Transformation&lt;/A&gt;&amp;nbsp; Do you have any ideas on how I can accomplish that? I am able to get the dates into separate variables and next step was to do what we did here. however, I dont know how to assign a date to various areas as described in the link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 17:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565409#M210976</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2014-02-10T17:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565410#M210977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2014 17:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565410#M210977</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-02-10T17:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Text file Transformation Error</title>
      <link>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565411#M210978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great!&amp;nbsp; Exactly what I needed. I was going down a different path but your version is much simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 15:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-file-Transformation-Error/m-p/565411#M210978</guid>
      <dc:creator>regowins</dc:creator>
      <dc:date>2014-02-11T15:26:33Z</dc:date>
    </item>
  </channel>
</rss>

