<?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: Is this a bug? Loading same fields with resident in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720122#M674116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That is normal behaviour. What is happening is that both tables are auto-concatenating because they contain exactly the same fields (that's the way it works in QlikView).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A solution would be to add the line NOCONCATENATE before loading the second tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2014 14:37:02 GMT</pubDate>
    <dc:creator>jaimeaguilar</dc:creator>
    <dc:date>2014-07-21T14:37:02Z</dc:date>
    <item>
      <title>Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720120#M674114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm still new to QlikView, so I'm not sure if this is a bug or by design.&lt;/P&gt;&lt;P&gt;I'm loading a QVD in, then I'm splitting the data out into separate QVDs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;tmpCrimes:&lt;/P&gt;
&lt;P&gt;LOAD [Offence Reference], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Crime Category]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;
&lt;P&gt;[..\QVDs\QueryRunner\Crimes.qvd]&lt;/P&gt;
&lt;P&gt;(qvd);&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;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tmpActiveCrime:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;Resident tmpCrimes&lt;/P&gt;
&lt;P&gt;WHERE [Crime Category]='Other Theft'&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However when I run this code, rather than having 2 tables (well 2 tables and a synthetic join) it just dumps the data into itself:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;tmpCrimes &amp;lt;&amp;lt; Crimes (qvd optimized) 499,785 lines fetched&lt;/P&gt;
&lt;P&gt;tmpCrimes &amp;lt;&amp;lt; tmpCrimes 609,027 lines fetched&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I alias one of the fields, it works fine, but then I don't get the replica data sets I was after.I know I can put a filter on the read from QVD, but then I lose out on the advantage of optimized reads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720120#M674114</guid>
      <dc:creator>oharab2000</dc:creator>
      <dc:date>2014-07-21T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720121#M674115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you load a table from a resident one, you must supply another field (ex. RowNo()) in the new table. If you don't do this, Qlikview assume the concatenation between the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Márcio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720121#M674115</guid>
      <dc:creator>Marcio_Campestrini</dc:creator>
      <dc:date>2014-07-21T14:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720122#M674116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That is normal behaviour. What is happening is that both tables are auto-concatenating because they contain exactly the same fields (that's the way it works in QlikView).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A solution would be to add the line NOCONCATENATE before loading the second tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720122#M674116</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-07-21T14:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720123#M674117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;Qlikview itself stores the unique set of values in the memory, so the script you have written is already stored in the qlikview memory, thats why you are getting an error.&lt;/P&gt;&lt;P&gt;Load with one additional field which is Rowno() or RecNo() or Autonumber(Any_Field).&lt;/P&gt;&lt;P&gt;Another Option is NOCONCATENATE.&lt;/P&gt;&lt;P&gt;Put this keyword infront of the load statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720123#M674117</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2014-07-21T14:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720124#M674118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;NOCONCATENATE before loading 2nd table...!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720124#M674118</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-07-21T14:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720125#M674119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you load two tables with fields equals qlikview concatenate the two tables, to avoid this, you need add the function NOCONCATENATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720125#M674119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T14:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720126#M674120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The NOCONCATENATE advice above is correct, but be careful that you dont leave these tables as-is as identical columns in multiple tables will cause a synthetic key to be created. If you data model has lots of identical columns then the size of synthetic key could be considerable and take a long time to calculate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the tables in your model then look at QUALIFY as a method of ensuring the columns remain unique to the table. (hint: use UNQUALIFY for the fields you do want to join on)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720126#M674120</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2014-07-21T14:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720127#M674121</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpCrimes:&lt;/P&gt;&lt;P&gt;LOAD [Offence Reference], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Crime Category]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;[..\QVDs\QueryRunner\Crimes.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpActiveCrime:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as tmpField&amp;nbsp; // This field make different table 1 to table 2 and QV read as 2 differents tables, else your&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // "Where" applies for tmpCrimes and tmpActiveCrime&lt;/P&gt;&lt;P&gt;Resident tmpCrimes&lt;/P&gt;&lt;P&gt;WHERE [Crime Category]='Other Theft'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table tmpCrimes; // if you don't need this table any more&lt;/P&gt;&lt;P&gt;DROP Field tmpField; // to delite this field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpCrimes:&lt;/P&gt;&lt;P&gt;LOAD [Offence Reference], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Crime Category]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;[..\QVDs\QueryRunner\Crimes.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify * ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tmpActiveCrime:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Resident tmpCrimes&lt;/P&gt;&lt;P&gt;WHERE [Crime Category]='Other Theft'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UnQualify * ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720127#M674121</guid>
      <dc:creator />
      <dc:date>2014-07-21T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is this a bug? Loading same fields with resident</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720128#M674122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NoobieError!!&lt;/P&gt;&lt;P&gt;Thanks all. NoConcatenate has solved&amp;nbsp; this. &lt;A href="https://community.qlik.com/qlik-users/94596"&gt;David Foster&lt;/A&gt;: Thanks for the warning, but in this case all I am doing is creating a range of smaller, more specific QVDs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 15:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-a-bug-Loading-same-fields-with-resident/m-p/720128#M674122</guid>
      <dc:creator>oharab2000</dc:creator>
      <dc:date>2014-07-21T15:05:43Z</dc:date>
    </item>
  </channel>
</rss>

