<?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: working with resident tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878892#M1012551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution of Ramon is the best one with the preceding load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ventas2:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;Applymap('Mapeo_semana', dia_semana) as dia_semana_desc;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;LOAD fecha,&lt;/P&gt;&lt;P&gt;periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ciudad, &lt;/P&gt;&lt;P&gt;&amp;nbsp; pais,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; cliente,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; producto,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;categoria,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;venta,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; margen,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; tipo_servicio,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; canal &lt;/P&gt;&lt;P&gt;RESIDENT Ventas;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead resident do what you did with our Ventas table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one word:&lt;/P&gt;&lt;P&gt;if you want to load from any datasource, you should define whether you want to concatenate to an existing&lt;/P&gt;&lt;P&gt;table or noconcatetane if you want an own table. this is not mandatory, but it clarifies if you read your scriptiew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(qlikview ill concatenate if the field names are identical, but you will not see it from the script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ventas2:&lt;/P&gt;&lt;P&gt;concatenate (Ventas) load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or Ventas2:&lt;/P&gt;&lt;P&gt;noconcatenate load&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your syntetic key table results in same fieldnames in both table (table_Name and table_name1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2015 21:54:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-21T21:54:27Z</dc:date>
    <item>
      <title>working with resident tables</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878888#M1012547</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 would like to know which is the best way to work with qlick resident tables.&lt;/P&gt;&lt;P&gt;I have to create a qlick table from another qlick table, I can create the second table with the same name of the origin table or with diferent name and drop the origin table. Which is the best practice?. When I create both with the same name in the table viewer I have a "strange" model ($Sync_table ,table_name, and table_name-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only want a table as a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ventas2:&lt;/P&gt;&lt;P&gt;LOAD fecha,&lt;/P&gt;&lt;P&gt;periodo,&lt;/P&gt;&lt;P&gt;Applymap('Mapeo_semana', dia_semana) as dia_semana_desc,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ciudad, &lt;/P&gt;&lt;P&gt;&amp;nbsp; pais,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; cliente,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; producto,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;categoria,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;venta,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; margen,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; tipo_servicio,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; canal &lt;/P&gt;&lt;P&gt;RESIDENT Ventas;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP table Ventas;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 21:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878888#M1012547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T21:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: working with resident tables</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878889#M1012548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try a preceding load instead &lt;A href="http://qlikviewcookbook.com/2009/12/simplify-with-preceding-load/" title="http://qlikviewcookbook.com/2009/12/simplify-with-preceding-load/"&gt;Simplify with Preceding Load | Qlikview Cookbook&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the synthetic key is because of your joins and not because of the tables names &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 21:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878889#M1012548</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-21T21:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: working with resident tables</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878890#M1012549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;just like you mention, if you want just one table as a result, then the steps you'll need to follow are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load original table&lt;/LI&gt;&lt;LI&gt;residen load of the second table from the original table (make sure both tables are not exactly the same, otherwise they will auto-concatenate)&lt;/LI&gt;&lt;LI&gt;drop original table if it is not useful anymore.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember that the advantage of Resident load is that you take advantage of a table that is already in memory. Also, you have the alternative of storing a QVD file and then re-loading it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 21:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878890#M1012549</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2015-04-21T21:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: working with resident tables</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878891#M1012550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like the whole purpose of this excerise is to replace dia_semana field with dia_semana_desc.&amp;nbsp; I'd recommend to do it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Ventas) LOAD&lt;BR /&gt; dia_semana,&lt;BR /&gt; Applymap('Mapeo_semana', dia_semana) as dia_semana_desc,&lt;BR /&gt;RESIDENT Ventas;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP FIELD dia_semana;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 21:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878891#M1012550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T21:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: working with resident tables</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878892#M1012551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution of Ramon is the best one with the preceding load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ventas2:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;Applymap('Mapeo_semana', dia_semana) as dia_semana_desc;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;LOAD fecha,&lt;/P&gt;&lt;P&gt;periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ciudad, &lt;/P&gt;&lt;P&gt;&amp;nbsp; pais,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; cliente,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; producto,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;categoria,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;venta,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; margen,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; tipo_servicio,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; canal &lt;/P&gt;&lt;P&gt;RESIDENT Ventas;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead resident do what you did with our Ventas table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one word:&lt;/P&gt;&lt;P&gt;if you want to load from any datasource, you should define whether you want to concatenate to an existing&lt;/P&gt;&lt;P&gt;table or noconcatetane if you want an own table. this is not mandatory, but it clarifies if you read your scriptiew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(qlikview ill concatenate if the field names are identical, but you will not see it from the script)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ventas2:&lt;/P&gt;&lt;P&gt;concatenate (Ventas) load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or Ventas2:&lt;/P&gt;&lt;P&gt;noconcatenate load&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your syntetic key table results in same fieldnames in both table (table_Name and table_name1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 21:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878892#M1012551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T21:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: working with resident tables</title>
      <link>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878893#M1012552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best practice for using a resident table is load a raw of data into a one Table DATA1.&amp;nbsp; This is the source of data for making other tables such as aggregated table over dimensions (ie sum of sales group by product .. etc).. &lt;/P&gt;&lt;P&gt;also&amp;nbsp; making your Master Calendar table, having all range of dates.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The raw table may also optimized by using applymap and many transformation functions in order to reach optimal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having the DATA1 resident to load is faster than loading the data again from a QVD files or data base. &lt;/P&gt;&lt;P&gt;The practice is to finally drop the DATA1 table after having the extraction and transformation in an optimized data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ziad &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 21:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/working-with-resident-tables/m-p/878893#M1012552</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2015-04-21T21:55:12Z</dc:date>
    </item>
  </channel>
</rss>

