<?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 Remove Row from Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250317#M1207558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt this would be any better in this particular case, but just in case, let's say you have a list of all PSTYV codes, whatever they are. It might be faster to do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;ExcludeIndia:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ExcludedPSTYV&lt;BR /&gt; ZFKP&lt;BR /&gt; ZHA2&lt;BR /&gt; ZJNT&lt;BR /&gt; ZLWM&lt;BR /&gt; ZMTO&lt;BR /&gt;];&lt;BR /&gt;InvoicePosition:&lt;BR /&gt;LOAD PSTYV&lt;BR /&gt;FROM your source for all PSTYV codes&lt;BR /&gt;WHERE NOT EXISTS(ExcludedPSTYV,PSTYV);&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;DROP TABLE ExcludeIndia;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;INNER JOIN (InvoicePosition)&lt;BR /&gt;LOAD CHARG,&lt;BR /&gt; FKIMG,&lt;BR /&gt; KZWI1,&lt;BR /&gt; KZWI2,&lt;BR /&gt; MATNR,&lt;BR /&gt; POSNR,&lt;BR /&gt; PSTYV,&lt;BR /&gt;FROM&lt;BR /&gt;C:\D\PersonalTraining\Qlikview\Test\EsempiDiTest\FATT_POSIZIONI.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;There's no reason for me to think it would be faster. In fact, it looks like it would be slightly slower. But you never know. Maybe an inner join is more efficient than a "not exists()", and would make up for the wasted time doing an extra load. I doubt it, but having alternatives is a good thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Apr 2010 17:27:19 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-04-08T17:27:19Z</dc:date>
    <item>
      <title>Remove Row from Table</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250313#M1207554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;During script running I've to remove some rows from a table.&lt;/P&gt;&lt;P&gt;Instead to put the "where" with all the AND, I need to use a different way, 'cause the items I've to remove are a lot.&lt;/P&gt;&lt;P&gt;I found these way looking to some other forum example but I don't know if it's the fastest and the best one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an example how I've tried to do (I've to exclude value u find in INLINE table for field PSTYV)&lt;/P&gt;&lt;P&gt;I've used this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExcludeIndia:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;PSTYV&lt;/P&gt;&lt;P&gt;ZFKP&lt;/P&gt;&lt;P&gt;ZHA2&lt;/P&gt;&lt;P&gt;ZJNT&lt;/P&gt;&lt;P&gt;ZLWM&lt;/P&gt;&lt;P&gt;ZMTO&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapTable:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;/P&gt;&lt;P&gt;PSTYV,&lt;/P&gt;&lt;P&gt;1 AS DONT_LOAD&lt;/P&gt;&lt;P&gt;RESIDENT ExcludeIndia;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InvoicePosition:&lt;/P&gt;&lt;P&gt;LOAD CHARG,&lt;/P&gt;&lt;P&gt;FKIMG,&lt;/P&gt;&lt;P&gt;KZWI1,&lt;/P&gt;&lt;P&gt;KZWI2,&lt;/P&gt;&lt;P&gt;MATNR,&lt;/P&gt;&lt;P&gt;POSNR,&lt;/P&gt;&lt;P&gt;PSTYV,&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;C:\D\PersonalTraining\Qlikview\Test\EsempiDiTest\FATT_POSIZIONI.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;WHERE ApplyMap('MapTable',PSTYV,0) = 0;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;It works but I don't know if there are other better solution to achieve the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sergio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 09:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250313#M1207554</guid>
      <dc:creator />
      <dc:date>2010-04-07T09:57:36Z</dc:date>
    </item>
    <item>
      <title>Remove Row from Table</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250314#M1207555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sergio,&lt;/P&gt;&lt;P&gt;I'm actually using expressions like yours. Working with maps and applymap is fine for me and very elegant and easy to trace should you need to change anything in your code.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 10:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250314#M1207555</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-04-07T10:28:07Z</dc:date>
    </item>
    <item>
      <title>Remove Row from Table</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250315#M1207556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You shouldn't need the map in this case, which may speed it up slightly:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;ExcludeIndia:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ExcludedPSTYV&lt;BR /&gt; ZFKP&lt;BR /&gt; ZHA2&lt;BR /&gt; ZJNT&lt;BR /&gt; ZLWM&lt;BR /&gt; ZMTO&lt;BR /&gt;];&lt;BR /&gt;InvoicePosition:&lt;BR /&gt;LOAD CHARG,&lt;BR /&gt; FKIMG,&lt;BR /&gt; KZWI1,&lt;BR /&gt; KZWI2,&lt;BR /&gt; MATNR,&lt;BR /&gt; POSNR,&lt;BR /&gt; PSTYV,&lt;BR /&gt;FROM&lt;BR /&gt;C:\D\PersonalTraining\Qlikview\Test\EsempiDiTest\FATT_POSIZIONI.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;WHERE NOT EXISTS(ExcludedPSTYV,PSTYV);&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;DROP TABLE ExcludeIndia;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 02:06:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250315#M1207556</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-08T02:06:06Z</dc:date>
    </item>
    <item>
      <title>Remove Row from Table</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250316#M1207557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good one John. I'm using that too. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 08:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250316#M1207557</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-04-08T08:13:45Z</dc:date>
    </item>
    <item>
      <title>Remove Row from Table</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250317#M1207558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I doubt this would be any better in this particular case, but just in case, let's say you have a list of all PSTYV codes, whatever they are. It might be faster to do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;ExcludeIndia:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; ExcludedPSTYV&lt;BR /&gt; ZFKP&lt;BR /&gt; ZHA2&lt;BR /&gt; ZJNT&lt;BR /&gt; ZLWM&lt;BR /&gt; ZMTO&lt;BR /&gt;];&lt;BR /&gt;InvoicePosition:&lt;BR /&gt;LOAD PSTYV&lt;BR /&gt;FROM your source for all PSTYV codes&lt;BR /&gt;WHERE NOT EXISTS(ExcludedPSTYV,PSTYV);&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;DROP TABLE ExcludeIndia;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;INNER JOIN (InvoicePosition)&lt;BR /&gt;LOAD CHARG,&lt;BR /&gt; FKIMG,&lt;BR /&gt; KZWI1,&lt;BR /&gt; KZWI2,&lt;BR /&gt; MATNR,&lt;BR /&gt; POSNR,&lt;BR /&gt; PSTYV,&lt;BR /&gt;FROM&lt;BR /&gt;C:\D\PersonalTraining\Qlikview\Test\EsempiDiTest\FATT_POSIZIONI.xlsx&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;There's no reason for me to think it would be faster. In fact, it looks like it would be slightly slower. But you never know. Maybe an inner join is more efficient than a "not exists()", and would make up for the wasted time doing an extra load. I doubt it, but having alternatives is a good thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Apr 2010 17:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Row-from-Table/m-p/250317#M1207558</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-08T17:27:19Z</dc:date>
    </item>
  </channel>
</rss>

