<?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: Concatenate a Resident Load Table to Itself? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40076#M777595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Drat. That actually made sense to me logically!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will hunt around. As you (and other folks) indicate: it has to be there either explicitly or implicitly earlier in the script process.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 13:36:38 GMT</pubDate>
    <dc:creator>schneider2037</dc:creator>
    <dc:date>2018-04-16T13:36:38Z</dc:date>
    <item>
      <title>Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40067#M777586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brand new to QV, and inherited a project. Trying to decipher the script yet, and have run across something I'm missing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script editor, there are 20+ tabs with hundreds of lines of script. While I get most, ran into this one:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There is NO reference earlier in the script to create table "Boss_Units_TEMP", only here on a Resident load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUESTION: How/Why would I Concatenate into the same table a Resident Load is creating? Disregard the particulars of the fields please. Just trying to wrap my brain around the logic here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for any help/guidance. 28 days in to QV now...Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Concatenate(Boss_Units_TEMP)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Boss_Units_TEMP:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; KEY_StateDealer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; PLBT,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; FQTR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; BOOKED_YEAR as FISCAL_YEAR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; BOOKED_YEAR &amp;amp;'-'&amp;amp; FQTR as FISCAL_KEY,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Sum(BOOKED_UNIT) as UNIT_BOOKED,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; UNIT_FUEL_TYPE as FUEL_TYPE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Resident Boss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Group By KEY_StateDealer, UNIT_FUEL_TYPE, PLBT, FQTR, BOOKED_YEAR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DROP Table Boss;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40067#M777586</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40068#M777587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above script is adding new fields to your table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Boss_Units_TEMP&amp;nbsp; table and in order to use aggr function(like sum,max, count) in the script you have to use group by clause.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;hope it helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40068#M777587</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2018-04-16T12:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40069#M777588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tripati - so it would be logical to see somewhere earlier in the script...a table that actually gets created called Boss_Units_TEMP? That's where I'm lost, as there is nothing that I see that creates that table other than right at this moment in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!! I very much appreciate your time on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40069#M777588</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-04-16T12:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40070#M777589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think QV will produce a table not found error if the table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Boss_Units_TEMP&lt;/SPAN&gt; does not exist. So it should be there somewhere in the script. Please note that QV will name tables to the tablename (sql) or sheetname (xls) if not explcitely named in the scipt. Other options, hidden scripts? Any Include scripts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40070#M777589</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2018-04-16T13:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40071#M777590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To load resident from a table and merging the new load-results by concatenating or joining to the origin table isn't unusual for example if you need to join the max. Date from the first load for certain keys but you want to keep a different degree of granularity in this table as you calculate the Date or if you want to concatenate different granularities of certain measures maybe one on a transaction-level and the other on a monthly-level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assigning a tablename for a load which is concatenated to another table is not correct but it will be usually ignored but a concatenate-statement to a not existing table table should AFAIK result in an error.&lt;/P&gt;&lt;P&gt;Are you really sure that this table didn't exists? Maybe this table is generated within the hidden script, by an include-variable or it might be the result of a renaming (maybe by mapping-statement). Just add a exit script; before this load and take a look within the table-viewer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this table didn't exist it could be that a different table with the same table-structure exists to which this load is added whereby like above stated I would rather expect an error if not any ERRORMODE is implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40071#M777590</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-16T13:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40072#M777591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;Please check in your script&amp;nbsp; the table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Boss_Units_TEMP should be loaded previously.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here some new fields are adding to BOSS table and finally the fields are concatenating to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Boss_Units_TEMP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40072#M777591</guid>
      <dc:creator>tripatirao</dc:creator>
      <dc:date>2018-04-16T13:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40073#M777592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha, this may be an interesting test case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;The QlikView Load prefix operations are executed &lt;EM&gt;after&lt;/EM&gt; the LOAD itself. AFAIK they are never executed &lt;EM&gt;while&lt;/EM&gt; performing the Load (like a Preceding Load is). But since the Load first creates the table to which it then tries to concatenate itself, this construct may actually work without errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;The resulting table may have all records twice though. Can you check that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;Or just comment out the Concatenate line and reload. Does it produce the same results in your document?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;[Edit] Sorry, spelling errors. You know...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40073#M777592</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-04-16T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40074#M777593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Hadn't thought of that angle. Will test. Right now, just tried to reload the whole shooting match and all sorts of errors flying around. This is a very buggy script I've inherited.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Will mark as closed/answered for now. Methinks I'm going to be spending tens of hours trying to debug from top to bottom first!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40074#M777593</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-04-16T13:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40075#M777594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that was just wishful thinking. It doesn't work like that, not in QV11.20 nor in 12.xx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Boss_Units_TEMP &lt;EM&gt;must exist&lt;/EM&gt; before this script will run till the end. On condition that the script doesn't mess with ErrorMode...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40075#M777594</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2018-04-16T13:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40076#M777595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Drat. That actually made sense to me logically!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will hunt around. As you (and other folks) indicate: it has to be there either explicitly or implicitly earlier in the script process.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40076#M777595</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-04-16T13:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40077#M777596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus - will definitely take your advice and do "Exit Script;" and step through from beginning to end. The script itself is horrifyingly complex (literally approaching 100 different types of Loads) so there's definitely something amiss here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40077#M777596</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-04-16T13:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40078#M777597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds that there are too many load-statements as useful within a single application - probably a generator which creates multiple qvd's and/or does multiple transformations. Very useful and quite common is to split the loadings into extracting, transformations, datamodel and report parts and also those into logically groups. This keeps the loadings readable, maintainable and increased often the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40078#M777597</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-04-16T13:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate a Resident Load Table to Itself?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40079#M777598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus (and everyone) - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One nugget I forgot to mention is that this is the data model, not the application. The Application itself is a straight binary load over this data model qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies on not being very clear there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still doesn't lessen the complexity and horrific number of loads/resident loads, but at least this complexity is housed in the correct "layer."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 14:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-a-Resident-Load-Table-to-Itself/m-p/40079#M777598</guid>
      <dc:creator>schneider2037</dc:creator>
      <dc:date>2018-04-16T14:02:26Z</dc:date>
    </item>
  </channel>
</rss>

