<?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: Creating Custom field in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710537#M1084350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can join these tables at any time after the initial load, not only during the initial load. After your code you may write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(table1)&lt;/P&gt;&lt;P&gt;load * resident table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table table2; //if you don't need it any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(table1)&lt;/P&gt;&lt;P&gt;load Name, Marks, custom1*custom2 as custom3 resident table1; //you can join a table to itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 13:41:09 GMT</pubDate>
    <dc:creator>valeriy_ogienko</dc:creator>
    <dc:date>2014-06-19T13:41:09Z</dc:date>
    <item>
      <title>Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710530#M1084338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have two tables and for both i have created a custom fields names as custom1 and custom2. Now i want to create a new custom field called Custom3 using both custom1 and custom2 which are in two different tables: (custom1*custom2 as custom3).&lt;/P&gt;&lt;P&gt;How can i create this field? Any help will be appreciated. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_a:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;marks,&lt;/P&gt;&lt;P&gt;customfield as custom1&lt;/P&gt;&lt;P&gt;from c:........;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table_b:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;class,&lt;/P&gt;&lt;P&gt;customfield as custom2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710530#M1084338</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-06-19T10:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710531#M1084341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first You have to join the two tables to have only one, at this point reload this last table (remember noconcatenate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and write the expression for your field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710531#M1084341</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-06-19T10:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710532#M1084344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the comman key between this two tables Name.&lt;/P&gt;&lt;P&gt;then join these two tables and make them as one table. and create the new field.&lt;/P&gt;&lt;P&gt;else you can use Applymap also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mukram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710532#M1084344</guid>
      <dc:creator>mdmukramali</dc:creator>
      <dc:date>2014-06-19T10:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710533#M1084346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Name,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;marks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;customfield as custom1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from c:........;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Join&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Name,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;class,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;customfield as custom2&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from d....&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table2:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;custom1*custom2 as custom3&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Table1&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Table1&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710533#M1084346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-19T10:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710534#M1084347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First table is coming from a single excel sheet , but table 2 is coming from 92 sheets. i am using&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB DoDir (Root)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR each File in filelist(Root&amp;amp; '\*.xlsx')&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Marks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(File)]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;P&gt;FOR each Dir in dirlist (Root&amp;amp;'\*')&lt;/P&gt;&lt;P&gt;CALL DoDir(Dir)&lt;/P&gt;&lt;P&gt;NEXT Dir&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;CALL DoDir('F:\Project Reporting;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of this i am not able join both tables. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710534#M1084347</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-06-19T10:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710535#M1084348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First table is coming from a single excel sheet , but table 2 is coming from 92 sheets. i am using&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB DoDir (Root)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR each File in filelist(Root&amp;amp; '\*.xlsx')&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Marks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(File)]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;P&gt;FOR each Dir in dirlist (Root&amp;amp;'\*')&lt;/P&gt;&lt;P&gt;CALL DoDir(Dir)&lt;/P&gt;&lt;P&gt;NEXT Dir&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;CALL DoDir('F:\Project Reporting;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of this i am not able join both tables. &lt;SPAN class="emoticon_sad emoticon-inline"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710535#M1084348</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-06-19T10:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710536#M1084349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First table is coming from a single excel sheet , but table 2 is coming from 92 sheets. i am using&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUB DoDir (Root)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR each File in filelist(Root&amp;amp; '\*.xlsx')&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Name,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Marks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[$(File)]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT File&lt;/P&gt;&lt;P&gt;FOR each Dir in dirlist (Root&amp;amp;'\*')&lt;/P&gt;&lt;P&gt;CALL DoDir(Dir)&lt;/P&gt;&lt;P&gt;NEXT Dir&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;CALL DoDir('F:\Project Reporting;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of this i am not able join both tables. &lt;SPAN class="emoticon_sad emoticon-inline"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 10:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710536#M1084349</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-06-19T10:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Custom field in script</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710537#M1084350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can join these tables at any time after the initial load, not only during the initial load. After your code you may write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(table1)&lt;/P&gt;&lt;P&gt;load * resident table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table table2; //if you don't need it any more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(table1)&lt;/P&gt;&lt;P&gt;load Name, Marks, custom1*custom2 as custom3 resident table1; //you can join a table to itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Custom-field-in-script/m-p/710537#M1084350</guid>
      <dc:creator>valeriy_ogienko</dc:creator>
      <dc:date>2014-06-19T13:41:09Z</dc:date>
    </item>
  </channel>
</rss>

