<?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 to delete rows from a table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206490#M62594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey denwo, can you just send a sample of your calendar table, for further clarity. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Sep 2010 11:45:00 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2010-09-17T11:45:00Z</dc:date>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206489#M62593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two tables "Leavers" and "Calendar", I want to delete from the Calendar table any rows that has dates for that personid after there temination date but not sure how to do this in Qlikview? Can I do all this before the qvd is created for the Calendar ? I can do this in sql as per below but want to do this in Qlikview:&lt;/P&gt;&lt;P&gt;delete p&lt;BR /&gt;From Calendar p inner join Leavers l&lt;BR /&gt;on p.[Person Id] = l.PersonId&lt;BR /&gt;where&lt;BR /&gt; p.[Person Date]&amp;gt;l.TerminationDate&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 11:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206489#M62593</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-09-17T11:38:55Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206490#M62594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey denwo, can you just send a sample of your calendar table, for further clarity. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 11:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206490#M62594</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-09-17T11:45:00Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206491#M62595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you go, Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:02:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206491#M62595</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-09-17T12:02:47Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206492#M62596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F�rstly we are focusing data that you are trying to catch ( p.[Person Date]&amp;lt;l.TerminationDate) on the first table and than �nner join with your calendar table (PersonId, [Person Date])&lt;/P&gt;&lt;P&gt;try that code ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;TABLE1:&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; [Person Date]&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Calendar.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;inner join&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; TerminationDate&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Leavers.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;NOCONCATENATE LOAD PersonId,[Person Date]&lt;BR /&gt;RESIDENT TABLE1&lt;BR /&gt;where ([Person Date])&amp;lt;(TerminationDate) ;&lt;BR /&gt;INNER JOIN (Calendar) LOAD PersonId,&lt;BR /&gt; CalendarKey,&lt;BR /&gt; [Person Date],&lt;BR /&gt; [Eng Week],&lt;BR /&gt; [Eng Month],&lt;BR /&gt; [Eng Year],&lt;BR /&gt; [Eng Day of Week],&lt;BR /&gt; [Std Hours],&lt;BR /&gt; [Avail Day Flag],&lt;BR /&gt; HOLS,&lt;BR /&gt; UNAV,&lt;BR /&gt; DOCT,&lt;BR /&gt; SICK,&lt;BR /&gt; SITE,&lt;BR /&gt; TRAIN,&lt;BR /&gt; [Min Arrive Time],&lt;BR /&gt; [Max Leave Time],&lt;BR /&gt; [Worked Hours],&lt;BR /&gt; [Worked Day Flag],&lt;BR /&gt; [Extra Day Flag],&lt;BR /&gt; [Extra Day Hours],&lt;BR /&gt; [Unavailable Days],&lt;BR /&gt; [Total Unavail Hours],&lt;BR /&gt; [Paid Time],&lt;BR /&gt; [First Name],&lt;BR /&gt; [Last Name],&lt;BR /&gt; [Person Type],&lt;BR /&gt; [Person Group],&lt;BR /&gt; [Person Class],&lt;BR /&gt; EmployedFlag,&lt;BR /&gt; [Engineer OSG B],&lt;BR /&gt; [Engineer OSG C],&lt;BR /&gt; [Engineer OSG D],&lt;BR /&gt; PersonCategory&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Calendar.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;BR /&gt;DROP TABLE TABLE1;&lt;BR /&gt;&lt;BR /&gt;Leavers:&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; TerminationDate&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Leavers.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 12:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206492#M62596</guid>
      <dc:creator />
      <dc:date>2010-09-17T12:40:04Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206493#M62597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sorry it does not seem to work? I still want it to show dates till the 30/09/2010 for the other personid if they have not left, for some reason it is not going any further than the date 10/09/2010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 13:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206493#M62597</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-09-17T13:35:52Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206494#M62598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry my mistake ...;&lt;/P&gt;&lt;P&gt;try that one ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;TABLE1:&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; [Person Date]&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Calendar.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;inner join&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; TerminationDate&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Leavers.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Calendar:&lt;BR /&gt;NOCONCATENATE LOAD PersonId&amp;amp;[Person Date] AS CA_KEY&lt;BR /&gt;RESIDENT TABLE1&lt;BR /&gt;where ([Person Date])&amp;gt;(TerminationDate) ;&lt;BR /&gt;&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; CalendarKey,&lt;BR /&gt; [Person Date],&lt;BR /&gt; [Eng Week],&lt;BR /&gt; [Eng Month],&lt;BR /&gt; [Eng Year],&lt;BR /&gt; [Eng Day of Week],&lt;BR /&gt; [Std Hours],&lt;BR /&gt; [Avail Day Flag],&lt;BR /&gt; HOLS,&lt;BR /&gt; UNAV,&lt;BR /&gt; DOCT,&lt;BR /&gt; SICK,&lt;BR /&gt; SITE,&lt;BR /&gt; TRAIN,&lt;BR /&gt; [Min Arrive Time],&lt;BR /&gt; [Max Leave Time],&lt;BR /&gt; [Worked Hours],&lt;BR /&gt; [Worked Day Flag],&lt;BR /&gt; [Extra Day Flag],&lt;BR /&gt; [Extra Day Hours],&lt;BR /&gt; [Unavailable Days],&lt;BR /&gt; [Total Unavail Hours],&lt;BR /&gt; [Paid Time],&lt;BR /&gt; [First Name],&lt;BR /&gt; [Last Name],&lt;BR /&gt; [Person Type],&lt;BR /&gt; [Person Group],&lt;BR /&gt; [Person Class],&lt;BR /&gt; EmployedFlag,&lt;BR /&gt; [Engineer OSG B],&lt;BR /&gt; [Engineer OSG C],&lt;BR /&gt; [Engineer OSG D],&lt;BR /&gt; PersonCategory,&lt;BR /&gt; PersonId&amp;amp;[Person Date] AS CA_KEY&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Calendar.qvd&lt;BR /&gt;(qvd) WHERE NOT EXISTS(CA_KEY,PersonId&amp;amp;[Person Date]);&lt;BR /&gt;&lt;BR /&gt;DROP TABLE TABLE1;&lt;BR /&gt;DROP TABLE Calendar;&lt;BR /&gt;&lt;BR /&gt;Leavers:&lt;BR /&gt;LOAD PersonId,&lt;BR /&gt; TerminationDate&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\saltinbilek\Desktop\Leavers.qvd&lt;BR /&gt;(qvd);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 14:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206494#M62598</guid>
      <dc:creator />
      <dc:date>2010-09-17T14:32:44Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206495#M62599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks so far!&lt;/P&gt;&lt;P&gt;Nearly there and might use this one in the future!&lt;/P&gt;&lt;P&gt;But it is still not showing any dates past 16/09/2010, I want this to go to the last date which is 30/09/2010.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 14:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206495#M62599</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-09-17T14:59:14Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206496#M62600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you do a autonumber?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 18:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206496#M62600</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2010-09-17T18:44:17Z</dc:date>
    </item>
    <item>
      <title>How to delete rows from a table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206497#M62601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry what do you mean?&lt;/P&gt;&lt;P&gt;Basically it is working but want the dates to carry on till the 30/09/2010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 19:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-delete-rows-from-a-table/m-p/206497#M62601</guid>
      <dc:creator>denwo2010</dc:creator>
      <dc:date>2010-09-17T19:10:52Z</dc:date>
    </item>
  </channel>
</rss>

