<?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 How can I remove all rows after an empty one? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337963#M617690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView.&lt;/P&gt;&lt;P&gt;I like to read Data from a .txt file. It works for the normal reading.&lt;/P&gt;&lt;P&gt;But in the .txt file, there are 4 blocks of data. &lt;/P&gt;&lt;P&gt;I just need the first block. The blocks are separated by an empty row. &lt;/P&gt;&lt;P&gt;I found the command for removing an empty row but I need to delete all rows after that empty row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, I want to read in as many .txt files as there are in a folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this or give me a hint where I can look up those information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 12:37:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-04T12:37:16Z</dc:date>
    <item>
      <title>How can I remove all rows after an empty one?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337963#M617690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView.&lt;/P&gt;&lt;P&gt;I like to read Data from a .txt file. It works for the normal reading.&lt;/P&gt;&lt;P&gt;But in the .txt file, there are 4 blocks of data. &lt;/P&gt;&lt;P&gt;I just need the first block. The blocks are separated by an empty row. &lt;/P&gt;&lt;P&gt;I found the command for removing an empty row but I need to delete all rows after that empty row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, I want to read in as many .txt files as there are in a folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this or give me a hint where I can look up those information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 12:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337963#M617690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-04T12:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I remove all rows after an empty one?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337964#M617691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share sample file with expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337964#M617691</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-04T16:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I remove all rows after an empty one?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337965#M617692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/342647"&gt;Re: Load Exit - Conditional&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1148700#1148700" title="https://community.qlik.com/message/1148700#1148700"&gt;https://community.qlik.com/message/1148700#1148700&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 19:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337965#M617692</guid>
      <dc:creator>sacosta5</dc:creator>
      <dc:date>2017-04-04T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I remove all rows after an empty one?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337966#M617693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="background: #F5FAF0;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: blue;"&gt;For each&lt;/SPAN&gt; &lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: #3d3d3d;"&gt;vFileName&lt;/SPAN&gt;&lt;/EM&gt; &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: blue;"&gt;in Filelist&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt; ('C:\Path\*.txt')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #F5FAF0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: blue;"&gt;Load&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt; *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #F5FAF0;"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt; '$(vFileName)' &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: maroon;"&gt;FileName&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #F5FAF0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: blue;"&gt;From&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d;"&gt; [$(vFileName)];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #F5FAF0;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: blue;"&gt;Next&lt;/SPAN&gt; &lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'inherit',serif; color: #3d3d3d;"&gt;vFileName&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337966#M617693</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-04-04T20:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I remove all rows after an empty one?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337967#M617694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The file looks like this: &lt;/P&gt;&lt;P&gt;==================&lt;/P&gt;&lt;P&gt;[Common_Data]&lt;/P&gt;&lt;P&gt;Data1;abc&lt;/P&gt;&lt;P&gt;Data2;def&lt;/P&gt;&lt;P&gt;Data3;ghi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Data_Table1]&lt;/P&gt;&lt;P&gt;time(s);temp(°C);pressure(bar);....&lt;/P&gt;&lt;P&gt;5;40;10;.....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;10;41;11;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;15;39;14;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Data_Table2]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;time(s);temp(°C);pressure(bar);....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;5;34;2;.....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;10;35;3,5;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;15;39;4;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;===================&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I jump over (header=6 rows) the "[Common_Data]" and begin the load with "time(s);..." from "[Data_Table1]" as fieldnames. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then I only want to read the values of "[Data_Table1]". The Load should stop, when the first empty row is reached. In the example it's the row above "[Data_Table2]". &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 06:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337967#M617694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-05T06:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I remove all rows after an empty one?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337968#M617695</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;maybe one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14919473140943067 jive_text_macro" jivemacro_uid="_14919473140943067"&gt;
&lt;P&gt;LOAD *, RangeSum([time(s)] like '&lt;LI&gt;',Peek(HeaderLine)) as HeaderLine&lt;/LI&gt;&lt;/P&gt;
&lt;P&gt;Inline "&lt;/P&gt;
&lt;P&gt;[Common_Data]&lt;/P&gt;
&lt;P&gt;Data1;abc&lt;/P&gt;
&lt;P&gt;Data2;def&lt;/P&gt;
&lt;P&gt;Data3;ghi&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;[Data_Table1]&lt;/P&gt;
&lt;P&gt;time(s);temp(°C);pressure(bar);....&lt;/P&gt;
&lt;P&gt;5;40;10;.....&lt;/P&gt;
&lt;P&gt;10;41;11;.....&lt;/P&gt;
&lt;P&gt;15;39;14;.....&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;[Data_Table2]&lt;/P&gt;
&lt;P&gt;time(s);temp(°C);pressure(bar);....&lt;/P&gt;
&lt;P&gt;5;34;2;.....&lt;/P&gt;
&lt;P&gt;10;35;3,5;.....&lt;/P&gt;
&lt;P&gt;15;39;4;.....&lt;/P&gt;
&lt;P&gt;" (header is 5 lines, delimiter is ';');&lt;/P&gt;
&lt;P&gt;Right Join LOAD 0 as HeaderLine AutoGenerate 1;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 21:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-remove-all-rows-after-an-empty-one/m-p/1337968#M617695</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-04-11T21:49:48Z</dc:date>
    </item>
  </channel>
</rss>

