<?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: Loading QVD Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722498#M1076834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain this with an example i have table where data for SaleReps and its age&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Name, Age&lt;/P&gt;&lt;P&gt;A, 34&lt;/P&gt;&lt;P&gt;B, 43&lt;/P&gt;&lt;P&gt;C, 35&lt;/P&gt;&lt;P&gt;D, 56&lt;/P&gt;&lt;P&gt;E, 45&lt;/P&gt;&lt;P&gt;F, 45&lt;/P&gt;&lt;P&gt;G, 56&lt;/P&gt;&lt;P&gt;H, 35&lt;/P&gt;&lt;P&gt;I, 66&lt;/P&gt;&lt;P&gt;J, 77&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vNoRows = NoOfRows('Table1');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(vNoRows) &amp;gt; 0 then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Table1 into Table1.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales_Rep_Table:&amp;nbsp;&amp;nbsp; //This table updated every time when the table rows more than 0 rows only&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Table1.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2014 08:46:33 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-07-22T08:46:33Z</dc:date>
    <item>
      <title>Loading QVD Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722493#M1076829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one table Tab1 and it contains A,B,C,D fields and it will refresh every 12 hours.Here we are doing full load for every 12 hours (not incremental load ).&lt;/P&gt;&lt;P&gt;My req is first time Tab1 contains 10 records then i stored it in Qvd. After refreshing the Tab1 there is no records (deleted) now i have to keep the old data(10 Records)&lt;/P&gt;&lt;P&gt;in QVD instead of storing 0 records. Means we have to store the data only when Tab1 contains more than one records, if record count is zero then we have to keep the previous QVD.&lt;/P&gt;&lt;P&gt;Is there any way to do this? If yes Could you please provide with sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 07:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722493#M1076829</guid>
      <dc:creator />
      <dc:date>2014-07-22T07:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading QVD Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722494#M1076830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to load your table incrementally&amp;nbsp; or otherwise you can check the no of rows of the table if it is greater than 0 then create the QVD otherwise do not create the QVD, For more see the example for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Age&lt;/P&gt;&lt;P&gt;FROM &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;TableName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vNoRows = NoOfRows('Tab1'); //For finding the no of rows and store into the variable to check rows&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &lt;STRONG&gt;vNoRows&lt;/STRONG&gt; &amp;gt; 0 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Tab1 into Tab1.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722494#M1076830</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-22T08:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading QVD Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722495#M1076831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If understand the requirement correctly..&lt;/P&gt;&lt;P&gt;If any records are added/modified in database then only&amp;nbsp; you have to update/add records to the QVD. This can be achieved using &lt;STRONG&gt;Incremental Load&lt;/STRONG&gt; concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more clarification, See the topic 'Using QVD Files for Incremental Load' in QliView help.&lt;/P&gt;&lt;P&gt;vLastExecutionTime=ReloadTime()&lt;/P&gt;&lt;P&gt;vCurrentExecStart=now()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradeep &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722495#M1076831</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2014-07-22T08:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loading QVD Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722496#M1076832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; A, B, C, D&lt;/P&gt;&lt;P&gt;&amp;nbsp; 100,101,102,103&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vNoOfRows = NoOfRows('Sales');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If $(vNoOfRows) &amp;gt; 0 then&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store Sales into Sales.qvd (QVD);&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP Table Sales;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp; SalesOld:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sales.qvd&lt;/P&gt;&lt;P&gt;&amp;nbsp; (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Store SalesOld into Sales.qvd (QVD);&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP Table SalesOld;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722496#M1076832</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-22T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Loading QVD Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722497#M1076833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Yourtablename:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Name,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Age&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM &lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;TableName;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vNoRows = NoOfRows('&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Yourtablename&lt;/SPAN&gt;');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if &lt;STRONG&gt;'$(vNoRows)'&lt;/STRONG&gt; &amp;gt; 0 then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Yourtablename&lt;/SPAN&gt; into &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Yourtablename&lt;/SPAN&gt;.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;END IF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722497#M1076833</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-07-22T08:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading QVD Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722498#M1076834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain this with an example i have table where data for SaleReps and its age&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Name, Age&lt;/P&gt;&lt;P&gt;A, 34&lt;/P&gt;&lt;P&gt;B, 43&lt;/P&gt;&lt;P&gt;C, 35&lt;/P&gt;&lt;P&gt;D, 56&lt;/P&gt;&lt;P&gt;E, 45&lt;/P&gt;&lt;P&gt;F, 45&lt;/P&gt;&lt;P&gt;G, 56&lt;/P&gt;&lt;P&gt;H, 35&lt;/P&gt;&lt;P&gt;I, 66&lt;/P&gt;&lt;P&gt;J, 77&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vNoRows = NoOfRows('Table1');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if $(vNoRows) &amp;gt; 0 then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Table1 into Table1.qvd(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales_Rep_Table:&amp;nbsp;&amp;nbsp; //This table updated every time when the table rows more than 0 rows only&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Table1.qvd (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 08:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-QVD-Issue/m-p/722498#M1076834</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-22T08:46:33Z</dc:date>
    </item>
  </channel>
</rss>

