<?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 Conditional stop when loading from Excel in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-stop-when-loading-from-Excel/m-p/461193#M172178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a big Excel file with more than one data table on the same sheet, and I'm trying to load only the first one. This file look like this (this is only a few columns, there is a lot more in the actual file) with 10 different tables, one after another just like that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" width="120"&gt;Titre_niveau_1&lt;/TD&gt;&lt;TD class="xl69" width="182"&gt;Titre_niveau_2&lt;/TD&gt;&lt;TD class="xl69" width="44"&gt;Intervenant&lt;/TD&gt;&lt;TD class="xl69" width="79"&gt;Profil projet&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17"&gt;ATR&lt;/TD&gt;&lt;TD class="xl71"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt;FDI&lt;/TD&gt;&lt;TD class="xl73"&gt;DP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17"&gt;ATR2&lt;/TD&gt;&lt;TD class="xl71"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt;CAU&lt;/TD&gt;&lt;TD class="xl73"&gt;DP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17"&gt;SZA&lt;/TD&gt;&lt;TD class="xl71"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt;JFR&lt;/TD&gt;&lt;TD class="xl73"&gt;CP&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" width="120"&gt;Total charge :&lt;/TD&gt;&lt;TD class="xl72" width="182"&gt; &lt;/TD&gt;&lt;TD class="xl70" width="44"&gt; &lt;/TD&gt;&lt;TD class="xl70" width="79"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl73" height="17" width="120"&gt;Titre_niveau_1&lt;/TD&gt;&lt;TD class="xl74" width="182"&gt;Titre_niveau_2&lt;/TD&gt;&lt;TD class="xl70" width="44"&gt; &lt;/TD&gt;&lt;TD class="xl70" width="79"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="17"&gt;ATR&lt;/TD&gt;&lt;TD class="xl75"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="17"&gt;QTR&lt;/TD&gt;&lt;TD class="xl75"&gt;Transition&lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="17"&gt;PTZ&lt;/TD&gt;&lt;TD class="xl75"&gt;MCO&lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to stop the loading when the first column = 'Total charge :', but I don't know the right way to do it in Qlikview. While loop ? (i tried it, but it was restarting the loading when it stopped). Is there a way to "tell" Qlikview to stop with a conditon ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 09:01:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-29T09:01:00Z</dc:date>
    <item>
      <title>Conditional stop when loading from Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-stop-when-loading-from-Excel/m-p/461193#M172178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a big Excel file with more than one data table on the same sheet, and I'm trying to load only the first one. This file look like this (this is only a few columns, there is a lot more in the actual file) with 10 different tables, one after another just like that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" width="120"&gt;Titre_niveau_1&lt;/TD&gt;&lt;TD class="xl69" width="182"&gt;Titre_niveau_2&lt;/TD&gt;&lt;TD class="xl69" width="44"&gt;Intervenant&lt;/TD&gt;&lt;TD class="xl69" width="79"&gt;Profil projet&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17"&gt;ATR&lt;/TD&gt;&lt;TD class="xl71"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt;FDI&lt;/TD&gt;&lt;TD class="xl73"&gt;DP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17"&gt;ATR2&lt;/TD&gt;&lt;TD class="xl71"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt;CAU&lt;/TD&gt;&lt;TD class="xl73"&gt;DP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="17"&gt;SZA&lt;/TD&gt;&lt;TD class="xl71"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt;JFR&lt;/TD&gt;&lt;TD class="xl73"&gt;CP&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl71" height="17" width="120"&gt;Total charge :&lt;/TD&gt;&lt;TD class="xl72" width="182"&gt; &lt;/TD&gt;&lt;TD class="xl70" width="44"&gt; &lt;/TD&gt;&lt;TD class="xl70" width="79"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 425px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl73" height="17" width="120"&gt;Titre_niveau_1&lt;/TD&gt;&lt;TD class="xl74" width="182"&gt;Titre_niveau_2&lt;/TD&gt;&lt;TD class="xl70" width="44"&gt; &lt;/TD&gt;&lt;TD class="xl70" width="79"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="17"&gt;ATR&lt;/TD&gt;&lt;TD class="xl75"&gt;Initialisation&lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="17"&gt;QTR&lt;/TD&gt;&lt;TD class="xl75"&gt;Transition&lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl76" height="17"&gt;PTZ&lt;/TD&gt;&lt;TD class="xl75"&gt;MCO&lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;TD class="xl72"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to stop the loading when the first column = 'Total charge :', but I don't know the right way to do it in Qlikview. While loop ? (i tried it, but it was restarting the loading when it stopped). Is there a way to "tell" Qlikview to stop with a conditon ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-stop-when-loading-from-Excel/m-p/461193#M172178</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional stop when loading from Excel</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-stop-when-loading-from-Excel/m-p/461194#M172179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pioubluh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try running two commands against the excel file - the first one to identify the row the 'stop' data appears on, and the second to return only the rows you need based on this value, something like this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RowLimit:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FIRST 1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RecNo() as RecRef&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[SubjData.xls]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(biff, embedded labels, table is Sheet1$)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where Titre_niveau_1='Total charge :';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FIRST peek('RecRef')-1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[SubjData.xls]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(biff, embedded labels, table is Sheet1$);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 10:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-stop-when-loading-from-Excel/m-p/461194#M172179</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2012-10-29T10:20:43Z</dc:date>
    </item>
  </channel>
</rss>

