<?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: Deleting data from qvd in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1638677#M63422</link>
    <description>&lt;P&gt;delete QVD Is not avaliable in Qlik, but you can reduce your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD 1 AutoGenerate 0;&lt;BR /&gt;STORE Table into . '';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 05:12:24 GMT</pubDate>
    <dc:creator>Rojarao</dc:creator>
    <dc:date>2019-10-23T05:12:24Z</dc:date>
    <item>
      <title>Deleting data from qvd</title>
      <link>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1635058#M63420</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;can we completely delete data from qvd file? Is there any delete keyword to delete a part of data in qvd file or is it just limiting the data while loading data i mean with some conditions.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1635058#M63420</guid>
      <dc:creator>Sasi3557</dc:creator>
      <dc:date>2024-11-16T04:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from qvd</title>
      <link>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1635088#M63421</link>
      <description>&lt;P&gt;no delete of data in a qvd, same as you don't add new data to a qvd&lt;/P&gt;&lt;P&gt;you create a new qvd containing the new (more data or less data) having the same name.&lt;/P&gt;&lt;P&gt;Data:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;from [lib://Mylocation/myqvd.qvd]&lt;/P&gt;&lt;P&gt;where myCondition;&lt;/P&gt;&lt;P&gt;store Data into&amp;nbsp;&amp;nbsp;lib://Mylocation/myqvd.qvd (.qvd);&amp;nbsp;&lt;/P&gt;&lt;P&gt;(after this script, the "new" qvd will contain data only with the condition "myCondition")&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 17:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1635088#M63421</guid>
      <dc:creator>mikaelsc</dc:creator>
      <dc:date>2019-10-14T17:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from qvd</title>
      <link>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1638677#M63422</link>
      <description>&lt;P&gt;delete QVD Is not avaliable in Qlik, but you can reduce your data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table:&lt;BR /&gt;LOAD 1 AutoGenerate 0;&lt;BR /&gt;STORE Table into . '';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 05:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1638677#M63422</guid>
      <dc:creator>Rojarao</dc:creator>
      <dc:date>2019-10-23T05:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from qvd</title>
      <link>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1638681#M63423</link>
      <description>&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create a macro using the COM-object “Scrpting.FileSystemObject”&lt;/LI&gt;&lt;LI&gt;Call this macro from within your load-script&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Macro:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;public function DeleteFile(filePath)

	Set objFSO = CreateObject("Scripting.FileSystemObject") 
	Dim retVal 'as Boolean
	
	If objFSO.FileExists(filePath) Then
		Call objFSO.DeleteFile(filePath)
		retVal = true
	Else
		Set objFSO = nothing
		retVal = false
	End If 
		
	DeleteFile = retVal
	
end function&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Load-Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;SET vQvdFile = 'Sales_2011_01.qvd';
LET fileDeleted = (DeleteFile('$(vQvdFile)') = -1);

TRACE File deleted $(fileDeleted); &lt;/PRE&gt;&lt;P&gt;To get this to work you have to lower the security-level of macro-execution and allow “System Access”:&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 05:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Deleting-data-from-qvd/m-p/1638681#M63423</guid>
      <dc:creator>Rojarao</dc:creator>
      <dc:date>2019-10-23T05:40:59Z</dc:date>
    </item>
  </channel>
</rss>

