<?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: Reducing RAM usage: WHERE EXISTS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458111#M1152851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I'll try - I will first see to it that my report displays the correct data and then I can go about trying to optimize it on the resource-side.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Apr 2013 14:33:00 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2013-04-16T14:33:00Z</dc:date>
    <item>
      <title>Reducing RAM usage: WHERE EXISTS</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458109#M1152849</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 read about the possibility to reduce the data load in dimension tables when no data exists for these dimensions. The EXISTS function.&lt;/P&gt;&lt;P&gt;I simply enlarge my LOAD statements in the script with &lt;/P&gt;&lt;P&gt;WHERE EXISTS([keyfield_in_other_table], [keyfield_in_this_table])&lt;/P&gt;&lt;P&gt;Correct so far?&lt;/P&gt;&lt;P&gt;The question is: Do I need to specify the real fieldname (when I have used the RENAME functionality to enforce this association)? I just tried it out and it resulted in the dimension table not being loaded at all!? &lt;/P&gt;&lt;P&gt;Can anybody help me with this issue`?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 10:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458109#M1152849</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-04-16T10:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing RAM usage: WHERE EXISTS</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458110#M1152850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fieldname from the other table should be name it has after the table is loaded into qlikviews internal database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;load A as A1, B as B1, C&lt;/P&gt;&lt;P&gt;from &lt;EM&gt;mytable1&lt;/EM&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename field B1 to B2; // the original B is now B2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;load A2, E, F from &lt;EM&gt;mytable2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;where exists(A1, A2); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T3: &lt;/P&gt;&lt;P&gt;load B3, G, H from &lt;EM&gt;mytable3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;where exists(B2,B3);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 10:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458110#M1152850</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-16T10:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing RAM usage: WHERE EXISTS</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458111#M1152851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I'll try - I will first see to it that my report displays the correct data and then I can go about trying to optimize it on the resource-side.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 14:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458111#M1152851</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-04-16T14:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing RAM usage: WHERE EXISTS</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458112#M1152852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe an underlying problem is that I'm a little confused about the terms used in the book "Qlikview 11 for developers": Fact tables and dimension tables - from working with SAP, I'm used to "transaction tables" and "masterdata tables". The MD_tables are such that a key usually consisting of only one field is unique. In the transaction_tables, a unique key must usually consist of several fields.&lt;/P&gt;&lt;P&gt;Am I right in assuming that the "dimension tables" in the book are "masterdata tables" with additional info that is to be added to the records in the "fact tables" and that those basically are what I know as "transaction tables" - such that (the info from) one record from the "dimension tables" is usually attached to multiple records in a "fact table"?&lt;/P&gt;&lt;P&gt;Thanks a lot for clarifying this seemingly simple, but crucial concept!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 10:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458112#M1152852</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-04-17T10:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reducing RAM usage: WHERE EXISTS</title>
      <link>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458113#M1152853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something is seemingly not working right:&lt;/P&gt;&lt;P&gt;I have one table here (masterdata, so I guess it's a dimension table) which I want to reduce using that method.&lt;/P&gt;&lt;P&gt;The table is linked to one other via one field which is loaded with the AS option in both tables. Remembering what I read about this function in my book, in this case I can write the function with only one parameter. However, when I enlarge the LOAD statement for that table with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&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;%TAG_NUMBER&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: 8pt;"&gt;I get an error message "Field not found".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What am I doing wrong here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DataNibbler&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 14:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reducing-RAM-usage-WHERE-EXISTS/m-p/458113#M1152853</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-04-17T14:27:02Z</dc:date>
    </item>
  </channel>
</rss>

