<?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 Create Field between two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172581#M42079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2009 19:52:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-02T19:52:38Z</dc:date>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172573#M42071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have 2 tables and I would like create a field which use one field in the first table and one field in the second table.&lt;/P&gt;&lt;P&gt;Table 1 :&lt;/P&gt;&lt;P&gt;LOAD COACTREF, //Key with TYPEACTIV&lt;BR /&gt; Year(DTJRNCAL) as [Année],&lt;BR /&gt; Month(DTJRNCAL) as [Mois],&lt;BR /&gt; Week(DTJRNCAL) as [Semaine],&lt;BR /&gt; Day(DTJRNCAL) as [Jour],&lt;BR /&gt; DUREEREA;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM ACTIVITY;&lt;/P&gt;&lt;P&gt;Table 2 :&lt;/P&gt;&lt;P&gt;LOAD COACTREF, //Key with ACTEMPJRN&lt;BR /&gt; INCALCUL;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM TYPEACTIV;&lt;/P&gt;&lt;P&gt;Fields I would like create are :&lt;/P&gt;&lt;P&gt;- If (Table2.INCALCUL = 'O',Table1.DUREEREA,0)&lt;/P&gt;&lt;P&gt;- If (Table2.INCALCUL = 'N',Table1.DUREEREA,0)&lt;/P&gt;&lt;P&gt;Thanks to your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 17:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172573#M42071</guid>
      <dc:creator />
      <dc:date>2009-12-02T17:36:49Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172574#M42072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The tables are connected with the key COACTREF, so I think the if statement should just work fine as it is.&lt;/P&gt;&lt;P&gt;I assume you use the if statements somewhere in the frontend of the QlikView application (in a pivot table?) ... give it a try I should say.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 17:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172574#M42072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-02T17:40:14Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172575#M42073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you answer but I would like create fields in the script. I don't want to create fields everytime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 17:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172575#M42073</guid>
      <dc:creator />
      <dc:date>2009-12-02T17:47:06Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172576#M42074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could consider something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;Temp:&lt;BR /&gt;LOAD COACTREF,&lt;BR /&gt;Year (DTJRNCAL) as [Annee],&lt;BR /&gt;Month(DTJRNCAL) as [Mois],&lt;BR /&gt;Week(DTJRNCAL) as [Semaine],&lt;BR /&gt;Day(DTJRNCAL) as [Jour],&lt;BR /&gt;DUREEREA;&lt;BR /&gt;SQL SELECT * FROM ACTIVITY;&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;LOAD COACTREF,&lt;BR /&gt;INCALCUL;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM TYPEACTIV;&lt;BR /&gt;&lt;BR /&gt;Table:&lt;BR /&gt;LOAD COACTREF,&lt;BR /&gt;Annee,&lt;BR /&gt;Mois,&lt;BR /&gt;Semaine,&lt;BR /&gt;Jour,&lt;BR /&gt;DUREEREA,&lt;BR /&gt;INCALCUL,&lt;BR /&gt;if(INCALCUL = 'O', DUREEREA,0) as INCALCUL_O,&lt;BR /&gt;if(INCALCUL = 'N' DUREEREA,0) as INCALCUL_N&lt;BR /&gt;RESIDENT Temp;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Don't see why you should do it this way ... since the tables are connected with the COACTREF&lt;BR /&gt; the INCALCUL is already connected to the DUREEREA of the same COACTREF of the other table (oke now it is in one table) ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean otherwise could you be more specific?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 17:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172576#M42074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-02T17:53:38Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172577#M42075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 19:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172577#M42075</guid>
      <dc:creator />
      <dc:date>2009-12-02T19:12:17Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172578#M42076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView create two tables : temp and temp-1, is it normal ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 19:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172578#M42076</guid>
      <dc:creator />
      <dc:date>2009-12-02T19:40:44Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172579#M42077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, QlikView create 2 tables : Table and Temp.&lt;/P&gt;&lt;P&gt;But I don't want see the table Temp, how can I make ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 19:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172579#M42077</guid>
      <dc:creator />
      <dc:date>2009-12-02T19:44:13Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172580#M42078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry ... forgot the drop table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;DROP TABLE TEMP;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This way the TEMP table is removed and only the Table is in the application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 19:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172580#M42078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-02T19:47:42Z</dc:date>
    </item>
    <item>
      <title>Create Field between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172581#M42079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2009 19:52:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Field-between-two-tables/m-p/172581#M42079</guid>
      <dc:creator />
      <dc:date>2009-12-02T19:52:38Z</dc:date>
    </item>
  </channel>
</rss>

