<?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 allready existing rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414111#M154050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact the same, if i move the where not exists to the daytransaction, this table will losse the qvd optimized load.&lt;/P&gt;&lt;P&gt;All where statment is bad for qvd optimized.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2013 12:20:57 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2013-01-11T12:20:57Z</dc:date>
    <item>
      <title>concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414103#M154042</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;i have one large qvd file with all my history &amp;lt; today, I also have one qvd "day transaction table" &amp;gt;today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to concatenate these two tables to get a nearly realttime data. &lt;/P&gt;&lt;P&gt;I concatenate and make a check &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;not&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Now to the problem: the large qvd can contain a KEY that I need to replace from the day transation table. But my &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;not&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;SPAN style="font-size: 10pt;"&gt;stops me.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there another way to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414103#M154042</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-01-11T09:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414104#M154043</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 using Where not Exists(Key,Key) at the load script for the second table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Khaled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414104#M154043</guid>
      <dc:creator />
      <dc:date>2013-01-11T09:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414105#M154044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Khaled, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont think the Where not EXISTS is the way to solv my problem, i need another kind of check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="28998" class="jive-image-thumbnail jive-image" onclick="" alt="QlikviewForum.png" src="https://community.qlik.com/legacyfs/online/28998_QlikviewForum.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Key 1,2,3 need to be updated from daytransaction because it contain new Sales data.&lt;/P&gt;&lt;P&gt;This is a table that contain order and sales information, the order is created before the sales transaction and thats why the Key can be in both tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 10:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414105#M154044</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-01-11T10:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414106#M154045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the order of your LOADs? If you do something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13579000520615053" jivemacro_uid="_13579000520615053"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * FROM DayTransaction;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;LOAD * FROM History Where Not Exists(Key);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will maintain the data from the DayTransaction, which is newer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 10:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414106#M154045</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-11T10:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414107#M154046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a first test this seem to work, the bad thing is that the big history qvd wont be optimized becuse of the where statment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Stabben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414107#M154046</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-01-11T11:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414108#M154047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple exists() function in the where statement shouldn't affect the optimized qvd load. Maybe it's something else. Can you post the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414108#M154047</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-11T11:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414109#M154048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;this is exactly my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;C:\DAYTRANS.qvd(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (Order)&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;C:\All_Orders.qvd&lt;BR /&gt;&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;not&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;%key&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 12:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414109#M154048</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-01-11T12:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414110#M154049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both qvds have the exact same fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 12:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414110#M154049</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-11T12:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414111#M154050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact the same, if i move the where not exists to the daytransaction, this table will losse the qvd optimized load.&lt;/P&gt;&lt;P&gt;All where statment is bad for qvd optimized.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 12:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414111#M154050</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2013-01-11T12:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: concatenate allready existing rows</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414112#M154051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check my sample qvw. When I load from the QVDs, the script execution progress windows says that both of them were qvd optimized loads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use the qvw, you must first create the QVDs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="29043" class="jive-image-thumbnail jive-image" onclick="" alt="q.png" src="https://community.qlik.com/legacyfs/online/29043_q.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 12:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate-allready-existing-rows/m-p/414112#M154051</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-11T12:35:31Z</dc:date>
    </item>
  </channel>
</rss>

