<?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: Delete records in cascade in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917533#M318081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that there are many possibilities to automate such data-reduction then you need to consider the key-fields and the relations between all tables. But maybe you could use statements like KEEP or (not) EXISTS to make that handling easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2015 09:59:54 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-07-28T09:59:54Z</dc:date>
    <item>
      <title>Delete records in cascade</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917532#M318080</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 file with data from 2004 to 2015. I want to have only the data from 2015.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I deleted rows from the fact table where date&amp;lt;2015, but i like to delete all in cascade. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want to delete all rows from all tables that have no relation with the fact table with data of 2015.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I can delete rows from all tables ono to one, but there are more than 50 tables. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I want to know if exists a way to delete all with one instruction? Something like DELETE IN CASCADE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Fernando&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 09:18:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917532#M318080</guid>
      <dc:creator />
      <dc:date>2015-07-28T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Delete records in cascade</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917533#M318081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that there are many possibilities to automate such data-reduction then you need to consider the key-fields and the relations between all tables. But maybe you could use statements like KEEP or (not) EXISTS to make that handling easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 09:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917533#M318081</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-28T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Delete records in cascade</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917534#M318082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible in Qlikview.But you can do it by using left join with Exist fuction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact1:&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt; From Fact&lt;/P&gt;&lt;P&gt;where Year&amp;lt;2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;from dimension1&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;left join&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;from dimension2&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Fact2:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;load *&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;from Fact2&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;where exists(KeyfromFact1, keyfromFact2);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 10:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917534#M318082</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-28T10:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Delete records in cascade</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917535#M318083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917535#M318083</guid>
      <dc:creator />
      <dc:date>2015-07-28T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Delete records in cascade</title>
      <link>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917536#M318084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 11:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delete-records-in-cascade/m-p/917536#M318084</guid>
      <dc:creator />
      <dc:date>2015-07-28T11:00:37Z</dc:date>
    </item>
  </channel>
</rss>

