<?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 Why does the script's progress shows an '-1'? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-does-the-script-s-progress-shows-an-1/m-p/1371236#M615997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help. I am loading qvds automatically concatenated by the same field names. One of the loads is generating a crosstable. &lt;STRONG&gt;Why does the Script execution progress shows an '-1'?&lt;/STRONG&gt; I add the screen and script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172836_Capture1.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CosttoServe_Fact:&lt;/P&gt;&lt;P&gt;load [Date Key]&lt;/P&gt;&lt;P&gt;,[Customer ID]&lt;/P&gt;&lt;P&gt;,[Product ID]&lt;/P&gt;&lt;P&gt;,[Sales Center Name]&lt;/P&gt;&lt;P&gt;,[Sales District Name]&lt;/P&gt;&lt;P&gt;,[Route ID]&lt;/P&gt;&lt;P&gt;,[Route Type]&lt;/P&gt;&lt;P&gt;,[Definition Table]&lt;/P&gt;&lt;P&gt;,[Item]&lt;/P&gt;&lt;P&gt;,[Value]&lt;/P&gt;&lt;P&gt;from [CosttoServe_TMA.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CosttoServe_Fact:&lt;/P&gt;&lt;P&gt;load [Date Key]&lt;/P&gt;&lt;P&gt;,[Customer ID]&lt;/P&gt;&lt;P&gt;,[Product ID]&lt;/P&gt;&lt;P&gt;,[Sales Center Name]&lt;/P&gt;&lt;P&gt;,[Sales District Name]&lt;/P&gt;&lt;P&gt;,[Route ID]&lt;/P&gt;&lt;P&gt;,[Route Type]&lt;/P&gt;&lt;P&gt;,[Definition Table]&lt;/P&gt;&lt;P&gt;,[Item]&lt;/P&gt;&lt;P&gt;,[Value]&lt;/P&gt;&lt;P&gt;from [CosttoServe_Sales.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CosttoServe_Fact:&lt;/P&gt;&lt;P&gt;crosstable(Item,Value,8)&lt;/P&gt;&lt;P&gt;load date(date#(left(start_time,10),'YYYY-MM-DD'),'YYYY-MM-DD') as [Date_Key]&lt;/P&gt;&lt;P&gt;,'N/A' as [Customer ID]&lt;/P&gt;&lt;P&gt;,'N/A' as [Product ID]&lt;/P&gt;&lt;P&gt;,'N/A' as [Sales Center Name]&lt;/P&gt;&lt;P&gt;,'N/A' as [Sales District Name]&lt;/P&gt;&lt;P&gt;,'N/A' as [Route ID]&lt;/P&gt;&lt;P&gt;,'N/A' as [Route Type]&lt;/P&gt;&lt;P&gt;,'Actual' as [Definition Table]&lt;/P&gt;&lt;P&gt;,total_cost&lt;/P&gt;&lt;P&gt;,planned_cost&lt;/P&gt;&lt;P&gt;,total_line_haul_cost&lt;/P&gt;&lt;P&gt;,total_stop_off_charges&lt;/P&gt;&lt;P&gt;,total_fuel_cost&lt;/P&gt;&lt;P&gt;,total_drop_charges&lt;/P&gt;&lt;P&gt;,total_wait_charges&lt;/P&gt;&lt;P&gt;,total_detention_charges&lt;/P&gt;&lt;P&gt;,total_ferry_charges&lt;/P&gt;&lt;P&gt;,total_toll_charges&lt;/P&gt;&lt;P&gt;,total_unloading_charges&lt;/P&gt;&lt;P&gt;from [CosttoServe_Extract_OTM_CB.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store CosttoServe_Fact into [CosttoServe_Fact.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table CosttoServe_Fact;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 19:45:45 GMT</pubDate>
    <dc:creator>julioarriaga</dc:creator>
    <dc:date>2017-08-08T19:45:45Z</dc:date>
    <item>
      <title>Why does the script's progress shows an '-1'?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-the-script-s-progress-shows-an-1/m-p/1371236#M615997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help. I am loading qvds automatically concatenated by the same field names. One of the loads is generating a crosstable. &lt;STRONG&gt;Why does the Script execution progress shows an '-1'?&lt;/STRONG&gt; I add the screen and script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172836_Capture1.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CosttoServe_Fact:&lt;/P&gt;&lt;P&gt;load [Date Key]&lt;/P&gt;&lt;P&gt;,[Customer ID]&lt;/P&gt;&lt;P&gt;,[Product ID]&lt;/P&gt;&lt;P&gt;,[Sales Center Name]&lt;/P&gt;&lt;P&gt;,[Sales District Name]&lt;/P&gt;&lt;P&gt;,[Route ID]&lt;/P&gt;&lt;P&gt;,[Route Type]&lt;/P&gt;&lt;P&gt;,[Definition Table]&lt;/P&gt;&lt;P&gt;,[Item]&lt;/P&gt;&lt;P&gt;,[Value]&lt;/P&gt;&lt;P&gt;from [CosttoServe_TMA.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CosttoServe_Fact:&lt;/P&gt;&lt;P&gt;load [Date Key]&lt;/P&gt;&lt;P&gt;,[Customer ID]&lt;/P&gt;&lt;P&gt;,[Product ID]&lt;/P&gt;&lt;P&gt;,[Sales Center Name]&lt;/P&gt;&lt;P&gt;,[Sales District Name]&lt;/P&gt;&lt;P&gt;,[Route ID]&lt;/P&gt;&lt;P&gt;,[Route Type]&lt;/P&gt;&lt;P&gt;,[Definition Table]&lt;/P&gt;&lt;P&gt;,[Item]&lt;/P&gt;&lt;P&gt;,[Value]&lt;/P&gt;&lt;P&gt;from [CosttoServe_Sales.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CosttoServe_Fact:&lt;/P&gt;&lt;P&gt;crosstable(Item,Value,8)&lt;/P&gt;&lt;P&gt;load date(date#(left(start_time,10),'YYYY-MM-DD'),'YYYY-MM-DD') as [Date_Key]&lt;/P&gt;&lt;P&gt;,'N/A' as [Customer ID]&lt;/P&gt;&lt;P&gt;,'N/A' as [Product ID]&lt;/P&gt;&lt;P&gt;,'N/A' as [Sales Center Name]&lt;/P&gt;&lt;P&gt;,'N/A' as [Sales District Name]&lt;/P&gt;&lt;P&gt;,'N/A' as [Route ID]&lt;/P&gt;&lt;P&gt;,'N/A' as [Route Type]&lt;/P&gt;&lt;P&gt;,'Actual' as [Definition Table]&lt;/P&gt;&lt;P&gt;,total_cost&lt;/P&gt;&lt;P&gt;,planned_cost&lt;/P&gt;&lt;P&gt;,total_line_haul_cost&lt;/P&gt;&lt;P&gt;,total_stop_off_charges&lt;/P&gt;&lt;P&gt;,total_fuel_cost&lt;/P&gt;&lt;P&gt;,total_drop_charges&lt;/P&gt;&lt;P&gt;,total_wait_charges&lt;/P&gt;&lt;P&gt;,total_detention_charges&lt;/P&gt;&lt;P&gt;,total_ferry_charges&lt;/P&gt;&lt;P&gt;,total_toll_charges&lt;/P&gt;&lt;P&gt;,total_unloading_charges&lt;/P&gt;&lt;P&gt;from [CosttoServe_Extract_OTM_CB.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store CosttoServe_Fact into [CosttoServe_Fact.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table CosttoServe_Fact;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 19:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-the-script-s-progress-shows-an-1/m-p/1371236#M615997</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2017-08-08T19:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the script's progress shows an '-1'?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-the-script-s-progress-shows-an-1/m-p/1371237#M615998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like the script is creating a new table for the CrossTable load instead of auto concatenating it to the above two tables. May be create a temp table and then concatenate the resident load from Temp table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CosttoServe_Fact:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Date Key]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Customer ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Product ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Sales Center Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Sales District Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Route ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Route Type]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Definition Table]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Item]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Value]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from [CosttoServe_TMA.qvd] (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Concatenate (CosttoServe_Fact)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Date Key]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Customer ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Product ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Sales Center Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Sales District Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Route ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Route Type]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Definition Table]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Item]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,[Value]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from [CosttoServe_Sales.qvd] (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable (Item, Value, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD date(date#(left(start_time,10),'YYYY-MM-DD'),'YYYY-MM-DD') as [Date_Key]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'N/A' as [Customer ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'N/A' as [Product ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'N/A' as [Sales Center Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'N/A' as [Sales District Name]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'N/A' as [Route ID]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'N/A' as [Route Type]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,'Actual' as [Definition Table]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_cost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,planned_cost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_line_haul_cost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_stop_off_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_fuel_cost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_drop_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_wait_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_detention_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_ferry_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_toll_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;,total_unloading_charges&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from [CosttoServe_Extract_OTM_CB.qvd] (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Concatenate (CosttoServe_Fact)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;LOAD *&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Resident Temp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;DROP Table Temp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STORE CosttoServe_Fact into [CosttoServe_Fact.qvd] (qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;DROP Table CosttoServe_Fact;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 19:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-the-script-s-progress-shows-an-1/m-p/1371237#M615998</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-08T19:52:02Z</dc:date>
    </item>
  </channel>
</rss>

