<?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 Using data of a table in a second table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225029#M77384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Try using Resident Load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;table1_field1,&lt;/P&gt;&lt;P&gt;table1_field2&lt;/P&gt;&lt;P&gt;Select field1,field2&lt;/P&gt;&lt;P&gt;from table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;field1 + (table1_field1*2) as table2_field1,&lt;/P&gt;&lt;P&gt;table2_field2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Resident Table1;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Select field1,field2&lt;/P&gt;&lt;P&gt;from table2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 17 Jul 2010 08:21:29 GMT</pubDate>
    <dc:creator>syed_muzammil</dc:creator>
    <dc:date>2010-07-17T08:21:29Z</dc:date>
    <item>
      <title>Using data of a table in a second table.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225024#M77379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;BR /&gt;i am new in qlikview and i have a problem that i don't know how to sort out.&lt;BR /&gt;&lt;BR /&gt;I have two table and i need use one information that is in the first table to use in the load of the second table.&lt;BR /&gt;It's important to say that I think that isn't a problema of merge of two tables, I need to do a calculation using a data loaded previously.&lt;/P&gt;&lt;P&gt;It's something like this:&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;table1_field1,&lt;/P&gt;&lt;P&gt;table1_field2&lt;/P&gt;&lt;P&gt;Select field1,field2&lt;/P&gt;&lt;P&gt;from table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;field1 + (table1_field1*2) as table2_field1,&lt;/P&gt;&lt;P&gt;table2_field2&lt;/P&gt;&lt;P&gt;Select field1,field2&lt;/P&gt;&lt;P&gt;from table2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible to do in QlikView?&lt;BR /&gt;&lt;BR /&gt;Thank's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 20:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225024#M77379</guid>
      <dc:creator />
      <dc:date>2010-07-15T20:44:47Z</dc:date>
    </item>
    <item>
      <title>Using data of a table in a second table.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225025#M77380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is one question: how is Table1 related with Table2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 21:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225025#M77380</guid>
      <dc:creator />
      <dc:date>2010-07-15T21:06:03Z</dc:date>
    </item>
    <item>
      <title>Using data of a table in a second table.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225026#M77381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The key of the Table1 is in the other tables of the cloud, including the Table2, but there is a field that is only in the Table1 and this field has a important information to show dates in the right timezone. Then, all the fields dates will need of this data&lt;BR /&gt;I thought do a join in the select, but I would need to do this in many tables too, repeting the same code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 21:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225026#M77381</guid>
      <dc:creator />
      <dc:date>2010-07-15T21:29:15Z</dc:date>
    </item>
    <item>
      <title>Using data of a table in a second table.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225027#M77382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what are you talking about timezones and nobody will, until you will provide a whole picture or a data sample. But according to your initial question, if you have a Key field for Table1 and Table2, your script will be something like this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;table1:&lt;BR /&gt;Load&lt;BR /&gt; Key as Key,&lt;BR /&gt; field1 as table1_field1,&lt;BR /&gt; field2 as table1_field2;&lt;BR /&gt;Select Key, field1, field2&lt;BR /&gt;from table1;&lt;BR /&gt;&lt;BR /&gt;left join (table1)&lt;BR /&gt;Load&lt;BR /&gt; Key as Key,&lt;BR /&gt; field1 as temp_table2_field1,&lt;BR /&gt; field2 as table2_field2;&lt;BR /&gt;Select Key, field1, field2&lt;BR /&gt;from table2;&lt;BR /&gt;&lt;BR /&gt;left join (table1)&lt;BR /&gt;load&lt;BR /&gt; Key,&lt;BR /&gt; temp_table2_field1 + (table1_field1*2) as table2_field1,&lt;BR /&gt;resident table1;&lt;BR /&gt;&lt;BR /&gt;drop field temp_table2_field1;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 13:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225027#M77382</guid>
      <dc:creator />
      <dc:date>2010-07-16T13:57:41Z</dc:date>
    </item>
    <item>
      <title>Using data of a table in a second table.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225028#M77383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, I will have only one table with all the fields of the table1 and the table2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 19:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225028#M77383</guid>
      <dc:creator />
      <dc:date>2010-07-16T19:50:58Z</dc:date>
    </item>
    <item>
      <title>Using data of a table in a second table.</title>
      <link>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225029#M77384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Try using Resident Load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;table1_field1,&lt;/P&gt;&lt;P&gt;table1_field2&lt;/P&gt;&lt;P&gt;Select field1,field2&lt;/P&gt;&lt;P&gt;from table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;field1 + (table1_field1*2) as table2_field1,&lt;/P&gt;&lt;P&gt;table2_field2&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Resident Table1;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Select field1,field2&lt;/P&gt;&lt;P&gt;from table2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jul 2010 08:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-data-of-a-table-in-a-second-table/m-p/225029#M77384</guid>
      <dc:creator>syed_muzammil</dc:creator>
      <dc:date>2010-07-17T08:21:29Z</dc:date>
    </item>
  </channel>
</rss>

