<?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: Qlikview how to delete everything in one table when certain values exist in other tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851053#M1215642</link>
    <description>&lt;P&gt;Thanks for your reply. But,&amp;nbsp; if i dont wanna change&amp;nbsp;&lt;SPAN&gt;the order in which I&amp;nbsp; load the tables, what should I do? Is there any other ways to solve it without changing the loading order?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
    <pubDate>Sun, 24 Oct 2021 23:54:53 GMT</pubDate>
    <dc:creator>tonytang</dc:creator>
    <dc:date>2021-10-24T23:54:53Z</dc:date>
    <item>
      <title>Qlikview how to delete everything in one table when certain values exist in other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851013#M1215634</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am very new to Qlikview. Please see below picture. Could anyone tell me how i can delete all records in Transaction table when Product Name='ABC' in Product Table in data edit script? I wanna reduce the total numbers of data loaded to the database to speed up the computation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tonytang_1-1635092558955.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65104iAE2117A7D72AE000/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tonytang_1-1635092558955.png" alt="tonytang_1-1635092558955.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have spent two days on trying to resolve it, but end up no solution can be found.&amp;nbsp; Hope there is someone willing to help me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 16:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851013#M1215634</guid>
      <dc:creator>tonytang</dc:creator>
      <dc:date>2021-10-24T16:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview how to delete everything in one table when certain values exist in other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851030#M1215639</link>
      <description>&lt;P&gt;There are several approaches depending on the order in which you load the tables. Here's a solution that would work if you filter the tables as you load then the first time. The idea is that you start by not loading "ABC" in the product table and then use the "exists" function to filter the other tables as you load. Something like:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Product:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;From ....&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where [Product Name] &amp;lt;&amp;gt; 'ABC';&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Order:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD *&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;From ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where exists([Product Sub-Category]);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Transaction:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD *&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;From ...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Where exists([Order ID]);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 18:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851030#M1215639</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-10-24T18:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview how to delete everything in one table when certain values exist in other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851053#M1215642</link>
      <description>&lt;P&gt;Thanks for your reply. But,&amp;nbsp; if i dont wanna change&amp;nbsp;&lt;SPAN&gt;the order in which I&amp;nbsp; load the tables, what should I do? Is there any other ways to solve it without changing the loading order?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Sun, 24 Oct 2021 23:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851053#M1215642</guid>
      <dc:creator>tonytang</dc:creator>
      <dc:date>2021-10-24T23:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview how to delete everything in one table when certain values exist in other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851424#M1215662</link>
      <description>&lt;P&gt;If all the tables are already loaded, you can do it with something like this:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;ProductMap:&lt;BR /&gt;Mapping Load&amp;nbsp; [Product Sub-Category],&amp;nbsp; [Product Name] Resident Order;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Inner Join (Order)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Load [Order ID]&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Resident Order&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;Where ApplyMap('ProductMap',&amp;nbsp;[Product Sub-Category]) &amp;lt;&amp;gt; 'ABC';&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;Right Keep (Transaction) Load [Order ID] Resident Order;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;-Rob&lt;/P&gt;
&lt;P class="p1"&gt;BTW, I'll be teaching an advanced scripting course online on 16 Nov&amp;nbsp;&lt;A href="https://masterssummit.com/" target="_blank"&gt;https://masterssummit.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 15:36:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851424#M1215662</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-10-25T15:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview how to delete everything in one table when certain values exist in other tables</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851805#M1215686</link>
      <description>&lt;P&gt;Thanks a lot. It&amp;nbsp; really works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, let me see the course detail then decide later. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 10:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-how-to-delete-everything-in-one-table-when-certain/m-p/1851805#M1215686</guid>
      <dc:creator>tonytang</dc:creator>
      <dc:date>2021-10-26T10:50:32Z</dc:date>
    </item>
  </channel>
</rss>

