<?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: Line terminator while loading text file other than default \n in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546018#M203957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;Thank you Sir . That worked extremely well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Sep 2013 10:06:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-03T10:06:47Z</dc:date>
    <item>
      <title>Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546010#M203949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we specify explicit line terminator while loading text file in qlikview. &lt;/P&gt;&lt;P&gt;Every end of the line&amp;nbsp; contains '$$$ ' in text file . So while loading this text file can i specify something like line delimiter '$$$'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 06:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546010#M203949</guid>
      <dc:creator />
      <dc:date>2013-08-29T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546011#M203950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Ideas Qlikexperts??&lt;/P&gt;&lt;P&gt;i need to explicitly specify a row terminator $$$ instead of default /n, as one of my column contains '\n'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 08:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546011#M203950</guid>
      <dc:creator />
      <dc:date>2013-09-02T08:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546012#M203951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no such option, I tried it once and not get succeeded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 09:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546012#M203951</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-02T09:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546013#M203952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to bump an idea,&lt;/P&gt;&lt;P&gt;if your data that contains '\n' is enclosed within double-quotes you can still load this data &lt;STRONG&gt;retaining&lt;/STRONG&gt; your '\n' (newline) character, if you opt for the &lt;STRONG&gt;MSQ&lt;/STRONG&gt; Quoting option (Modern Style Quoting) in your text file load wizard..&lt;/P&gt;&lt;P&gt;e.g. the following file:&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;TICKETNUMBER, STATUS&lt;/P&gt;&lt;P&gt;CD1300000256245, "Normal Status line"&lt;/P&gt;&lt;P&gt;CD1300000256246, "&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;Status with a &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;new line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;character&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CD1300000256247, "Normal Status line"&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;would load using MSQ quoting option as:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="46087" alt="QuotingMSQ.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/46087_QuotingMSQ.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Caveat:&lt;/STRONG&gt; However, since your new line character is retained in the data,&lt;/P&gt;&lt;P&gt;post reload, you may have to adjust the row height for QlikView tables (Multiline settings), to allow users to see the entire data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 18:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546013#M203952</guid>
      <dc:creator>kedar_dandekar</dc:creator>
      <dc:date>2013-09-02T18:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546014#M203953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Virkam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you upload an example. Maybe you can use fixed and a nested subfield().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 18:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546014#M203953</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-02T18:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546015#M203954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/3136"&gt;Ralf Becher&lt;/A&gt; and &lt;A href="https://community.qlik.com/qlik-users/59192"&gt;KedarDan&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please find the attached example.As you can see the field seperator is&amp;nbsp; '###/t' ,and the row separator is $$$.&lt;/P&gt;&lt;P&gt;The issue is with cardtypeid 1900001388,1900001246 and 1900001437.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 05:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546015#M203954</guid>
      <dc:creator />
      <dc:date>2013-09-03T05:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546016#M203955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify any delimeter which is embedded in quoting. Even "#" is one them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashwani Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 05:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546016#M203955</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2013-09-03T05:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546017#M203956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this works with the sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13781941642875569" jivemacro_uid="_13781941642875569" modifiedtitle="true"&gt;
&lt;P&gt;raw_data:&lt;/P&gt;
&lt;P&gt;LOAD replace(replace(concat(raw_line, '', rec_no),'###',''),'$$$','') as raw_line group by group_no;&lt;/P&gt;
&lt;P&gt;LOAD recno() as rec_no, if(index(@1:n,'$$$'), recno(), recno()+1) as group_no, @1:n as raw_line&lt;/P&gt;
&lt;P&gt;FROM testtext.txt&lt;/P&gt;
&lt;P&gt;(fix, codepage is 1252, header is 1 line);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;result:&lt;/P&gt;
&lt;P&gt;LOAD subfield(raw_line,chr(9),1) as CARDTYPEID, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),2) as NAME, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),3) as CARDTYPE2GRAPHICSBITMAP, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),4) as CARDTYPE2BROWSERBITMAP, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),5) as TABLENAME, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),6) as CLASS, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),7) as DESCRIPTION, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),8) as PORTSTARTNUMBER, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),9) as SLOTSTARTNUMBER, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),10) as CARDSIZE, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),11) as CRITICALFLAG, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),12) as POWERSUPPLIED, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),13) as POWERUSED, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),14) as POWERUNITS, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),15) as COOLINGSUPPLIED, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),16) as COOLINGUSED, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),17) as COOLINGUNITS, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),18) as ISVISIBLE, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield(raw_line,chr(9),19) as LABEL&lt;/P&gt;
&lt;P&gt;Resident raw_data;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_13781941663403919 jive_text_macro jive_macro_code" jivemacro_uid="_13781941663403919" modifiedtitle="true"&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can be glad that you have a line break after the '$$$' line delimiter.. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 07:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546017#M203956</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-03T07:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546018#M203957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;Thank you Sir . That worked extremely well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 10:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546018#M203957</guid>
      <dc:creator />
      <dc:date>2013-09-03T10:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line terminator while loading text file other than default \n</title>
      <link>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546019#M203958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vikram, you're welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just another hint, this works only if one field has line breaks. If more than one field has line breaks it needs some adjustments..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 10:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-terminator-while-loading-text-file-other-than-default-n/m-p/546019#M203958</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2013-09-03T10:09:22Z</dc:date>
    </item>
  </channel>
</rss>

