<?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: Filtering data from a QVD file takes too much time to reload in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097387#M89877</link>
    <description>&lt;P&gt;The field-names from the temp-table and the one from the qvd should be the same and it's easy to adjust it appropriate within the temp-load.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 10:25:39 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2023-07-26T10:25:39Z</dc:date>
    <item>
      <title>Filtering data from a QVD file takes too much time to reload</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097132#M89852</link>
      <description>&lt;P&gt;I have a qvd file which is combination of year wise data. I tried to filter this qvd file by using where condition in the load script like&lt;/P&gt;
&lt;P&gt;WHERE YEAR(date_column) = '2022'&lt;/P&gt;
&lt;P&gt;But it takes too much time to reload. As qvd files are in memory filtering on qvd file should be faster right?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its so frustrating that it takes too much time to load from a qvd file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 16:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097132#M89852</guid>
      <dc:creator>VijaySekar</dc:creator>
      <dc:date>2023-07-25T16:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data from a QVD file takes too much time to reload</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097194#M89858</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/237417"&gt;@VijaySekar&lt;/a&gt; You can generate a table that will automatically create a range of dates for you. &lt;BR /&gt;Then, you can load your QVD using the 'Where EXISTS' clause, resulting in an optimized load that conserves server resources and significantly reduces the reload time.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LET vDateMin = YearStart(AddYears(Today(), -1));
LET vDateMax = YearEnd(AddYears(Today(), -1));

TmpDate:
LOAD Date(Date('$(vDateMin)')+IterNo()-1) as Transaction_Date
 AutoGenerate(1)
 While Date(Date('$(vDateMin)')+IterNo()-1) &amp;lt;= Date('$(vDateMax)'); 

Transactions:
LOAD *
FROM Transactions.qvd (qvd) 
Where Exists Transaction_Date;
Drop Table TmpDate;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Jul 2023 23:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097194#M89858</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-07-25T23:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data from a QVD file takes too much time to reload</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097282#M89865</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the Transaction_Date column in TmpDate table is the column that already exists in Transactions QVD file?&lt;/P&gt;
&lt;P&gt;If i use the same code i am getting column not found error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My qvd file has "transaction_created_date" column but in the TmpDate table we are creating Transaction_Date as new column. Using this column in where clause throws column not found error.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 07:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097282#M89865</guid>
      <dc:creator>tsbrian</dc:creator>
      <dc:date>2023-07-26T07:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data from a QVD file takes too much time to reload</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097387#M89877</link>
      <description>&lt;P&gt;The field-names from the temp-table and the one from the qvd should be the same and it's easy to adjust it appropriate within the temp-load.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 10:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097387#M89877</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-07-26T10:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering data from a QVD file takes too much time to reload</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097396#M89878</link>
      <description>&lt;P&gt;As explained by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16737"&gt;@BrunPierre&lt;/a&gt; , if you want to benefit from optimized QVD loading, you need to avoid Where statements with the exception of a simple WHERE EXISTS clause. See e.g. &lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/What-is-optimised-QVD/td-p/800687" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/What-is-optimised-QVD/td-p/800687&lt;/A&gt; as this issue has been covered extensively both in Community and around the web.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 10:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-data-from-a-QVD-file-takes-too-much-time-to-reload/m-p/2097396#M89878</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-07-26T10:48:36Z</dc:date>
    </item>
  </channel>
</rss>

