<?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: Bringing value from table to table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bringing-value-from-table-to-table/m-p/665640#M676765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table_1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;YearMonth,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Sell_price,&lt;/P&gt;&lt;P&gt;Cost_price&lt;/P&gt;&lt;P&gt;from .....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (table_1)&lt;/P&gt;&lt;P&gt;load YearMonth, Cost_Price_Per_Month &lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;./excel....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table_2:&lt;/P&gt;&lt;P&gt;load ID, YearMonth, Date, Sell_Price, if(isnull(Cost_Price), Cost_Price_Per_Month, Cost_Price) as new_cost_price&lt;/P&gt;&lt;P&gt;resident table_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop column Cost_Price, Cost_Price_Per_Month from table_2;&lt;/P&gt;&lt;P&gt;drop table_1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2014 23:36:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-26T23:36:53Z</dc:date>
    <item>
      <title>Bringing value from table to table</title>
      <link>https://community.qlik.com/t5/QlikView/Bringing-value-from-table-to-table/m-p/665639#M676764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;I have a main table with fields (from SQL):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;YearMonth,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Sell_price&lt;/P&gt;&lt;P&gt;Cost_price&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;now i load a table a (from excel) with fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;YearMonth,&lt;/P&gt;&lt;P&gt;Cost_Price_Per_Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I bring Cost_Price_Per_Month value (from the excel table)&amp;nbsp; to the Cost_Price on first table to make a calculation on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script level.&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, 26 Jun 2014 23:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bringing-value-from-table-to-table/m-p/665639#M676764</guid>
      <dc:creator />
      <dc:date>2014-06-26T23:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bringing value from table to table</title>
      <link>https://community.qlik.com/t5/QlikView/Bringing-value-from-table-to-table/m-p/665640#M676765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table_1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;YearMonth,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Sell_price,&lt;/P&gt;&lt;P&gt;Cost_price&lt;/P&gt;&lt;P&gt;from .....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (table_1)&lt;/P&gt;&lt;P&gt;load YearMonth, Cost_Price_Per_Month &lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;./excel....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table_2:&lt;/P&gt;&lt;P&gt;load ID, YearMonth, Date, Sell_Price, if(isnull(Cost_Price), Cost_Price_Per_Month, Cost_Price) as new_cost_price&lt;/P&gt;&lt;P&gt;resident table_1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop column Cost_Price, Cost_Price_Per_Month from table_2;&lt;/P&gt;&lt;P&gt;drop table_1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 23:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bringing-value-from-table-to-table/m-p/665640#M676765</guid>
      <dc:creator />
      <dc:date>2014-06-26T23:36:53Z</dc:date>
    </item>
  </channel>
</rss>

