<?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: Seemingly simple left join returns general script error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836322#M655478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is strange... I did not get it and not sure why it would give you an error when it won't give me an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2015 01:12:25 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-17T01:12:25Z</dc:date>
    <item>
      <title>Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836316#M655472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am loading data from 2 tabs of a spreadsheet, and then joining them in Qlikview. It seems like a reasonably simple task, but I just keep getting a General Script Error on reload. I tried doing the same with a basic inline load and had the same issue. What am I missing??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I Exit Script just before the left join, it runs OK, and creates the 2 tables as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COGS_Split_Temp:&lt;/P&gt;&lt;P&gt;CrossTable(Month, Data, 2)&lt;/P&gt;&lt;P&gt;LOAD [Line Type], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemType, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [1], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [3], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [4], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [5], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [6], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [7], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [8], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [9], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [11], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [12]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is UnitSplit)&lt;/P&gt;&lt;P&gt;WHERE([Line Type] = 'Detail');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COGS_Split:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; num#(Month)&amp;amp;ItemType as Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data as UnitSplit,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num#(Month) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ItemType&lt;/P&gt;&lt;P&gt;resident COGS_Split_Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table COGS_Split_Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////&lt;/P&gt;&lt;P&gt;COGS_Split_Temp1:&lt;/P&gt;&lt;P&gt;CrossTable(Month1, Data, 2)&lt;/P&gt;&lt;P&gt;LOAD [Line Type], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemType, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [1], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [3], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [4], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [5], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [6], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [7], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [8], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [9], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [10], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [11], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [12]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is UnitCost)&lt;/P&gt;&lt;P&gt;WHERE([Line Type] = 'Detail');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COGS_Cost:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; num#(Month1)&amp;amp;ItemType as Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Data as UnitCost&lt;/P&gt;&lt;P&gt;resident COGS_Split_Temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table COGS_Split_Temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (COGS_Split)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; UnitCost&lt;/P&gt;&lt;P&gt;resident COGS_Cost;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0230&amp;nbsp; COGS_Cost:&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0231&amp;nbsp; LOAD &lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0232&amp;nbsp;&amp;nbsp; num#(Month1)&amp;amp;ItemType as Key,&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0233&amp;nbsp;&amp;nbsp; Data as UnitCost&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0234&amp;nbsp; resident COGS_Split_Temp1&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 fields found: Key, UnitCost, 24 lines fetched&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0236&amp;nbsp; drop table COGS_Split_Temp1&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0238&amp;nbsp; left join (COGS_Split)&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0239&amp;nbsp; LOAD &lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0240&amp;nbsp;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0241&amp;nbsp;&amp;nbsp; UnitCost&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM: 0242&amp;nbsp; resident COGS_Cost&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 fields found: Key, UnitCost, 24 lines fetched&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Joining/Keeping&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;General Script Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution Failed&lt;/P&gt;&lt;P&gt;17/06/2015 9:37:38 AM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 23:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836316#M655472</guid>
      <dc:creator />
      <dc:date>2015-06-16T23:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836317#M655473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you upload a QVW and your input excel file? Or the script with the inline code that showed the same issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 00:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836317#M655473</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-17T00:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836318#M655474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure - I've cut down the model to just the load from Excel.&lt;/P&gt;&lt;P&gt;I also limited the data in Excel to just 2 'ItemTypes' - in reality there would be 100 or so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 00:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836318#M655474</guid>
      <dc:creator />
      <dc:date>2015-06-17T00:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836319#M655475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not get any execution error when I run the script without exit script. I got this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;16/06/2015 8:42:34 PM: 0137&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;UnitCost&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;16/06/2015 8:42:34 PM: 0138&amp;nbsp; resident COGS_Cost&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;16/06/2015 8:42:34 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2 fields found: Key, UnitCost, 24 lines fetched&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;16/06/2015 8:42:34 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Joining/Keeping&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;16/06/2015 8:42:34 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $Syn 1 = Key+UnitCost&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;16/06/2015 8:42:34 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execution finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 00:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836319#M655475</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-17T00:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836320#M655476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run with this statement at the end and see if that helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table COGS_Cost;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 00:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836320#M655476</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-17T00:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836321#M655477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still get the error, with or without the DROP Table added at the end. See the atatched log.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 00:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836321#M655477</guid>
      <dc:creator />
      <dc:date>2015-06-17T00:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836322#M655478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is strange... I did not get it and not sure why it would give you an error when it won't give me an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 01:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836322#M655478</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-17T01:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836323#M655479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, well I have just restarted my laptop and voila the problem has disappeared. I can only assume that there was some lock on a file, or cached info somewhere. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, the Excel file and qvw is local on my machine, running version 11.20.12235.0 SR5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks both for your suggestions!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 01:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/836323#M655479</guid>
      <dc:creator />
      <dc:date>2015-06-17T01:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Seemingly simple left join returns general script error</title>
      <link>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/1832730#M1214698</link>
      <description>&lt;P&gt;I had this problem. Closing all the opened qvds&amp;nbsp; and opening a new QV instance resolved my issue.&amp;nbsp; Assuming there must have been some lock on any of the file/qvd being used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 05:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Seemingly-simple-left-join-returns-general-script-error/m-p/1832730#M1214698</guid>
      <dc:creator>Shify</dc:creator>
      <dc:date>2021-09-01T05:16:56Z</dc:date>
    </item>
  </channel>
</rss>

