<?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 tricky text file transformation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199280#M714495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to analize a a logfile in txt fromat.&lt;/P&gt;&lt;P&gt;a single record is normally received in one line but in many cases a record information is in several lines (much times up to 500 times)&lt;/P&gt;&lt;P&gt;What I need is to have in a single line all the children lines that have more than 1 line per record.&lt;/P&gt;&lt;P&gt;For security reasons i cannot upload the file but i'm attaching the conceptual struture of the logfile.&lt;/P&gt;&lt;P&gt;This is my current challenge, once i solve this i will easily read and extract any information on each record using string scripting techniques (subfiled, match etc)&lt;/P&gt;&lt;P&gt;any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-780_sourceID:780" /&gt;&lt;/P&gt;&lt;P&gt;hector&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jan 2010 01:21:35 GMT</pubDate>
    <dc:creator>hectorgarcia</dc:creator>
    <dc:date>2010-01-01T01:21:35Z</dc:date>
    <item>
      <title>tricky text file transformation</title>
      <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199280#M714495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to analize a a logfile in txt fromat.&lt;/P&gt;&lt;P&gt;a single record is normally received in one line but in many cases a record information is in several lines (much times up to 500 times)&lt;/P&gt;&lt;P&gt;What I need is to have in a single line all the children lines that have more than 1 line per record.&lt;/P&gt;&lt;P&gt;For security reasons i cannot upload the file but i'm attaching the conceptual struture of the logfile.&lt;/P&gt;&lt;P&gt;This is my current challenge, once i solve this i will easily read and extract any information on each record using string scripting techniques (subfiled, match etc)&lt;/P&gt;&lt;P&gt;any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-780_sourceID:780" /&gt;&lt;/P&gt;&lt;P&gt;hector&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jan 2010 01:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199280#M714495</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2010-01-01T01:21:35Z</dc:date>
    </item>
    <item>
      <title>tricky text file transformation</title>
      <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199281#M714496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which is the identifyer and which data do you need to extract?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jan 2010 21:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199281#M714496</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-01-01T21:14:57Z</dc:date>
    </item>
    <item>
      <title>tricky text file transformation</title>
      <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199282#M714497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi peter, I'm not worried about the data itself since i'm very clear about the scripting techniques to extract data from flat files or any other non conventional datasource using string functions...the challenge i'm having for now is how to manipulate with qilkview a file that is comming with the structure I described.&lt;/P&gt;&lt;P&gt;Currently what i'm doing is to manipulate the file with a textpad macro that performs 2 tasks:&lt;/P&gt;&lt;P&gt;1) Find every new line indicator (\n) and replace it by a white space (this convert the entire file in a single line.....)&lt;/P&gt;&lt;P&gt;2) Then Find and replace the regular expression &amp;lt;/GLTData&amp;gt; for &amp;lt;/GLTData&amp;gt;\n&lt;/P&gt;&lt;P&gt;The problem is that this is a very manual procedure and the files size are too big and are many files to process so it is very "expensive" to do that&lt;/P&gt;&lt;P&gt;I want to use the qlikview power to perform this transformation with some scripting techniques since the wizard is not helping me to obtain the same result WITH NO EXTRA MANIPULATION OF THE DATA&lt;/P&gt;&lt;P&gt;Please find attached a ppt that will show the current problem and how the workaround applied is making the "expensive' trick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 14:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199282#M714497</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2010-01-08T14:43:14Z</dc:date>
    </item>
    <item>
      <title>tricky text file transformation</title>
      <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199283#M714498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we treat finding &amp;lt;/GLTData&amp;gt; as the end of line segments to be constructed, the attached file will work. Take a look.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2010 01:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199283#M714498</guid>
      <dc:creator />
      <dc:date>2010-01-10T01:31:18Z</dc:date>
    </item>
    <item>
      <title>tricky text file transformation</title>
      <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199284#M714499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clever idea to examine for the end of line.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jan 2010 21:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199284#M714499</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2010-01-10T21:37:05Z</dc:date>
    </item>
    <item>
      <title>tricky text file transformation</title>
      <link>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199285#M714500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS TOM, VERY CREATIVE, CONGRATULATIONS, NOW I'M ABLE TO CONTINUE WITH MY TRANSFORMATION WITH NO PROBLEMS, TANKS A LOT!!!!!!!!!&lt;/P&gt;&lt;P&gt;HECTOR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 18:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/tricky-text-file-transformation/m-p/199285#M714500</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2010-01-11T18:52:57Z</dc:date>
    </item>
  </channel>
</rss>

