<?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 Load script from external txt-file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160057#M34467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There should not be double quotes.&lt;/P&gt;&lt;P&gt;Your script should look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;$(include = subfolder/filename.txt);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 May 2010 07:09:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-21T07:09:46Z</dc:date>
    <item>
      <title>Load script from external txt-file</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160056#M34466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to put my script in a txt-file instead of storing it in the qvs-file so I can version handle it. I put the code&lt;/P&gt;&lt;P&gt;$(include = "subfolder/filename.txt");&lt;/P&gt;&lt;P&gt;in my qvs-file but when I reload no data gets loaded. What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 07:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160056#M34466</guid>
      <dc:creator />
      <dc:date>2010-05-21T07:04:04Z</dc:date>
    </item>
    <item>
      <title>Load script from external txt-file</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160057#M34467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There should not be double quotes.&lt;/P&gt;&lt;P&gt;Your script should look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;$(include = subfolder/filename.txt);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;-Peterson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 07:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160057#M34467</guid>
      <dc:creator />
      <dc:date>2010-05-21T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Load script from external txt-file</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160058#M34468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this also. It doesn't work.&lt;/P&gt;&lt;P&gt;Can I put the whole script in the txt-file or does some part of it need to be in the qvs-file? Now my qvs-file only contains the include-code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 07:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160058#M34468</guid>
      <dc:creator />
      <dc:date>2010-05-21T07:14:56Z</dc:date>
    </item>
    <item>
      <title>Load script from external txt-file</title>
      <link>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160059#M34469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this application.&lt;/P&gt;&lt;P&gt;i have only include statement in my script and i have all my codes in text file.&lt;/P&gt;&lt;P&gt;It works as expected for me.&lt;/P&gt;&lt;P&gt;Below is the script which i have in text file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Test:&lt;BR /&gt;Load Product,&lt;BR /&gt;subfield(Sales,',') as Sales_New,&lt;BR /&gt;Sales;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Product, Sales&lt;BR /&gt; a, "235,235,235"&lt;BR /&gt; b, "235,236,237"&lt;BR /&gt; c, "222,222,222"&lt;BR /&gt; d, "222,223,224"&lt;BR /&gt;];&lt;BR /&gt;Test1:&lt;BR /&gt;Load Product,&lt;BR /&gt;if(Peek(Product) = Product and peek(Sales_New) = Sales_New, Sales_New,Sales) as Sales_New1,&lt;BR /&gt;Len(if(Peek(Product) = Product and peek(Sales_New) = Sales_New, Sales_New,Sales)) as Length,&lt;BR /&gt;Sales,&lt;BR /&gt;Sales_New&lt;BR /&gt;Resident Test;&lt;BR /&gt;Drop Table Test;&lt;BR /&gt;Right Join(Test1)&lt;BR /&gt;Load Product,&lt;BR /&gt;Min(Length) as Length&lt;BR /&gt;Resident Test1 group by Product;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;-Peterson&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 07:19:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-script-from-external-txt-file/m-p/160059#M34469</guid>
      <dc:creator />
      <dc:date>2010-05-21T07:19:33Z</dc:date>
    </item>
  </channel>
</rss>

