<?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: Loading statements to achieve the desired shape in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585782#M681215</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 have opened the .txt file and saved it as .brn file and tried to load the .brn file and found it is showing similar to that of .txt file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 20:52:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-16T20:52:37Z</dc:date>
    <item>
      <title>Loading statements to achieve the desired shape</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585781#M681213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, I have a script that works with a .txt file that is attached. Recently I change this to a .brn file (specific from another program). When I load it inside, data comes different, with no tabs or spaces...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you change the load to spaces as delimiter, data looks the better I can get, but i need to look like the .txt file, so it works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me out shaping this data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 17:26:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585781#M681213</guid>
      <dc:creator />
      <dc:date>2014-04-16T17:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Loading statements to achieve the desired shape</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585782#M681215</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 have opened the .txt file and saved it as .brn file and tried to load the .brn file and found it is showing similar to that of .txt file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 20:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585782#M681215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-16T20:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Loading statements to achieve the desired shape</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585783#M681216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, they are basically the same file, but i want a direct connection to the .brn, without having to save it as a .txt file... my script is working like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raw:&lt;/P&gt;&lt;P&gt;LOAD @1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @4&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[My restaurant.txt]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq, header is 0 lines, filters(&lt;/P&gt;&lt;P&gt;Replace(1, top, StrCnd(null))&lt;/P&gt;&lt;P&gt;));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; @1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(@2='',peek('Course', RowNo()-2), @2) as Course,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(@3='',peek('Plate', RowNo()-2), @3) as Plate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; @4 as Food&lt;/P&gt;&lt;P&gt;RESIDENT Raw&lt;/P&gt;&lt;P&gt;WHERE @1 = 'Menu'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Foods:&lt;/P&gt;&lt;P&gt;LOAD @1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(@2='',peek('Course', RowNo()-2), @2) as Course,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(@3='',peek('Plate', RowNo()-2), @3) as Plate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; @4 as Food&lt;/P&gt;&lt;P&gt;RESIDENT Raw&lt;/P&gt;&lt;P&gt;WHERE @1 = 'Foods'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ingredients:&lt;/P&gt;&lt;P&gt;LOAD @1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(@2='',peek('Course', RowNo()-2), @2) as Ingredients1&lt;/P&gt;&lt;P&gt; // if(@3='',peek('Dish', RowNo()-2), @3) as Dish,&lt;/P&gt;&lt;P&gt; // @4 as Ingredient&lt;/P&gt;&lt;P&gt;RESIDENT Raw&lt;/P&gt;&lt;P&gt;WHERE @1 = 'Ingredients'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will it work out the same if I use the ".brn" file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 01:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-statements-to-achieve-the-desired-shape/m-p/585783#M681216</guid>
      <dc:creator />
      <dc:date>2014-04-17T01:43:10Z</dc:date>
    </item>
  </channel>
</rss>

