<?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: Import TXT file, only show one column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087577#M941057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All lines are quoted in their entirety, making them act as a single field (and without a heading). Quotes in text or csv files are typically used to cover separators embedded in text values. They should be treated as part of the text value, and not as a regular field separator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you get TM1 to output the same but without the starting and ending double-quotes? If possible, that would be the easiest solution. If not, there are QlikView scripting techniques available that do away with extraneous characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 23:02:03 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2016-01-27T23:02:03Z</dc:date>
    <item>
      <title>Import TXT file, only show one column</title>
      <link>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087575#M941055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a few text files that are produced from IBM Cognos TM1, they have similar structure to the file I have attached.&amp;nbsp; But when I try to import them to Qlikview, they just show it as one column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I do it:&lt;/P&gt;&lt;P&gt;&amp;gt; Edit Script &amp;gt; Table Files&lt;/P&gt;&lt;P&gt;On the File Wizard: (see attached)&lt;/P&gt;&lt;P&gt;I selected "Comma" as Delimiter, and "Embedded Labels" as Labels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview just doesn't show me the different columns, what have I done wrong here?&amp;nbsp; Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phyllis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 22:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087575#M941055</guid>
      <dc:creator />
      <dc:date>2016-01-27T22:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Import TXT file, only show one column</title>
      <link>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087576#M941056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Wizard set the&lt;EM&gt; Header Size&lt;/EM&gt; to &lt;EM&gt;Lines&lt;/EM&gt; &amp;amp; &lt;EM&gt;1&lt;/EM&gt;,&lt;EM&gt;Quoting&lt;/EM&gt; to &lt;EM&gt;None,&lt;/EM&gt;and &lt;EM&gt;Labels&lt;/EM&gt; to &lt;EM&gt;None. &lt;/EM&gt;which creates this script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD @1, &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2, &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3, &lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @4&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;C&gt;&lt;/C&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;(txt, codepage is 1252, no labels, delimiter is ',', no quotes, header is 1 lines);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is not the end game and can be tidied up like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;LOAD purgechar ( @1 , '"' ) as [External_Rating] ,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2 as [Name] ,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3 as [Long_Name] ,&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; purgechar ( @4 , '"' ) as [Credit quality step]&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;&lt;C&gt;&lt;/C&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;(txt, codepage is 1252, no labels, delimiter is ',', no quotes, header is 1 lines);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 22:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087576#M941056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-27T22:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Import TXT file, only show one column</title>
      <link>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087577#M941057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All lines are quoted in their entirety, making them act as a single field (and without a heading). Quotes in text or csv files are typically used to cover separators embedded in text values. They should be treated as part of the text value, and not as a regular field separator. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you get TM1 to output the same but without the starting and ending double-quotes? If possible, that would be the easiest solution. If not, there are QlikView scripting techniques available that do away with extraneous characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 23:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087577#M941057</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-01-27T23:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import TXT file, only show one column</title>
      <link>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087578#M941058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Bill and Peter for your help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't realise the text file is giving me the double quotes at the beginning and the end, I should have opened the file in NotePad to check that first, rather than look at it in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fixed the issue by changing the TM1 output, as I have the same process to output a number of&amp;nbsp; dimensions to text file, it is easier to manipulate the output. &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>Thu, 28 Jan 2016 11:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087578#M941058</guid>
      <dc:creator />
      <dc:date>2016-01-28T11:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Import TXT file, only show one column</title>
      <link>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087579#M941059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good, as Peter suggested correcting data at source is always the best option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 12:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Import-TXT-file-only-show-one-column/m-p/1087579#M941059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-28T12:11:46Z</dc:date>
    </item>
  </channel>
</rss>

