<?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 incremental sql script error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624019#M735040</link>
    <description>&lt;P&gt;i have two question:-&lt;/P&gt;&lt;P&gt;first is why is my data is getting double in qlikview by using this script&amp;nbsp;&lt;/P&gt;&lt;P&gt;second when i store this into qvd script gets stop dont know why .&lt;/P&gt;&lt;P&gt;please look at my script , thanx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max:&lt;BR /&gt;LOAD max (TransactionDate) as TransactionDate&lt;/P&gt;&lt;P&gt;from [qlikview qvd\VWStockMovement_Qlik.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;let vamxdater1= Date(peek('TransactionDate',0,'max'),'DD/MM/YYYY'); // replace your date column only&lt;/P&gt;&lt;P&gt;drop table max;&lt;/P&gt;&lt;P&gt;final:&lt;BR /&gt;LOAD NCode,&lt;BR /&gt;PartnerCode,&lt;BR /&gt;Channel,&lt;BR /&gt;ETPCode,&lt;BR /&gt;TransactionDate,&lt;BR /&gt;"Doc_Type",&lt;BR /&gt;TransactionNo,&lt;BR /&gt;Season,&lt;BR /&gt;Style,&lt;BR /&gt;Color,&lt;BR /&gt;Size,&lt;BR /&gt;TransactionQuantity,&lt;BR /&gt;ETPMRP;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM ETPEASV55.dbo."VWStockMovement_Qlik" where TransactionDate&amp;gt;'$(vamxdater1)';&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD NCode,&lt;BR /&gt;PartnerCode,&lt;BR /&gt;Channel,&lt;BR /&gt;ETPCode,&lt;BR /&gt;TransactionDate,&lt;BR /&gt;Doc_Type,&lt;BR /&gt;TransactionNo,&lt;BR /&gt;Season,&lt;BR /&gt;Style,&lt;BR /&gt;Color,&lt;BR /&gt;Size,&lt;BR /&gt;TransactionQuantity,&lt;BR /&gt;ETPMRP&lt;BR /&gt;FROM [qlikview qvd\VWStockMovement_Qlik.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;store final into [qlikview qvd\VWStockMovement_Qlik.qvd]&lt;BR /&gt;(qvd);&amp;nbsp; &amp;nbsp; &amp;nbsp;// here my script gets stop and dont move forward to another incremental table , currently i am loading two incremental sql tables , if i dont store the qvd script goes perfectly but after writing this line script gets stop.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>riishabhz</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>incremental sql script error</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624019#M735040</link>
      <description>&lt;P&gt;i have two question:-&lt;/P&gt;&lt;P&gt;first is why is my data is getting double in qlikview by using this script&amp;nbsp;&lt;/P&gt;&lt;P&gt;second when i store this into qvd script gets stop dont know why .&lt;/P&gt;&lt;P&gt;please look at my script , thanx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;max:&lt;BR /&gt;LOAD max (TransactionDate) as TransactionDate&lt;/P&gt;&lt;P&gt;from [qlikview qvd\VWStockMovement_Qlik.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;let vamxdater1= Date(peek('TransactionDate',0,'max'),'DD/MM/YYYY'); // replace your date column only&lt;/P&gt;&lt;P&gt;drop table max;&lt;/P&gt;&lt;P&gt;final:&lt;BR /&gt;LOAD NCode,&lt;BR /&gt;PartnerCode,&lt;BR /&gt;Channel,&lt;BR /&gt;ETPCode,&lt;BR /&gt;TransactionDate,&lt;BR /&gt;"Doc_Type",&lt;BR /&gt;TransactionNo,&lt;BR /&gt;Season,&lt;BR /&gt;Style,&lt;BR /&gt;Color,&lt;BR /&gt;Size,&lt;BR /&gt;TransactionQuantity,&lt;BR /&gt;ETPMRP;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM ETPEASV55.dbo."VWStockMovement_Qlik" where TransactionDate&amp;gt;'$(vamxdater1)';&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD NCode,&lt;BR /&gt;PartnerCode,&lt;BR /&gt;Channel,&lt;BR /&gt;ETPCode,&lt;BR /&gt;TransactionDate,&lt;BR /&gt;Doc_Type,&lt;BR /&gt;TransactionNo,&lt;BR /&gt;Season,&lt;BR /&gt;Style,&lt;BR /&gt;Color,&lt;BR /&gt;Size,&lt;BR /&gt;TransactionQuantity,&lt;BR /&gt;ETPMRP&lt;BR /&gt;FROM [qlikview qvd\VWStockMovement_Qlik.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;store final into [qlikview qvd\VWStockMovement_Qlik.qvd]&lt;BR /&gt;(qvd);&amp;nbsp; &amp;nbsp; &amp;nbsp;// here my script gets stop and dont move forward to another incremental table , currently i am loading two incremental sql tables , if i dont store the qvd script goes perfectly but after writing this line script gets stop.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624019#M735040</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: incremental sql script error</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624023#M735041</link>
      <description>&lt;P&gt;few pointers:&lt;/P&gt;&lt;P&gt;Check if final table is getting auto concat or not. Or else check&amp;nbsp; if&amp;nbsp;&lt;STRONG&gt;qlikview qvd&amp;nbsp;&lt;/STRONG&gt;is a variable then try to use $.&lt;/P&gt;&lt;P&gt;if&amp;nbsp;&lt;STRONG&gt;qlikview qvd&amp;nbsp;&lt;/STRONG&gt;is not a variable then you have to use the relative path to store the qvd.&lt;/P&gt;&lt;P&gt;If this is not solved then post the exact error message&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 07:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624023#M735041</guid>
      <dc:creator>miskinmaz</dc:creator>
      <dc:date>2019-09-16T07:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: incremental sql script error</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624025#M735042</link>
      <description>&lt;P&gt;sir problem is qlikview is not giving me any error and script gets stop , dont know what the issue is.&lt;/P&gt;&lt;P&gt;i have also used relative path which is in d drive but same problem.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 07:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1624025#M735042</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2019-09-16T07:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: incremental sql script error</title>
      <link>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1628663#M735043</link>
      <description>&lt;P&gt;Your best bet here is going to be to break things down into their individual components/steps and check things at each step etc., to see where things are breaking, only way I see to move this one forward.&amp;nbsp; We cannot do this for you given we do not have access to the DB etc.&amp;nbsp; Hopefully this will provide some useful information, and if you cannot make sense of things, if you can share what you see, that may help someone give some further input/ideas on how to figure it out at that point.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 14:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/incremental-sql-script-error/m-p/1628663#M735043</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-26T14:16:57Z</dc:date>
    </item>
  </channel>
</rss>

