<?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: Create a new field in the LOAD-statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870452#M470471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's true &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, but I still hope that you find a better solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 17:51:58 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-15T17:51:58Z</dc:date>
    <item>
      <title>Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870444#M470463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I want to create a new field in the load-statement which value should be equal to the name of the table. This is the table where the LOAD-statement refers to.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 16:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870444#M470463</guid>
      <dc:creator>mcornips</dc:creator>
      <dc:date>2015-05-15T16:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870445#M470464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whr is ur table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be,&lt;/P&gt;&lt;P&gt;tab3:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;dim1,dim2&lt;/P&gt;&lt;P&gt;-4,0&lt;/P&gt;&lt;P&gt;-2,0.2&lt;/P&gt;&lt;P&gt;0,0.4&lt;/P&gt;&lt;P&gt;2,0.6&lt;/P&gt;&lt;P&gt;4,0.8&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tba2:&lt;/P&gt;&lt;P&gt;NoConcatenate load &lt;/P&gt;&lt;P&gt;dim1,&lt;/P&gt;&lt;P&gt;dim2,&lt;/P&gt;&lt;P&gt;'Tba2' as Tba2&lt;/P&gt;&lt;P&gt;Resident tab3;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table tab3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 16:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870445#M470464</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-15T16:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870446#M470465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use TableName() function like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join(Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TableName(0) as TableName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86728_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870446#M470465</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T17:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870447#M470466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;My Load statement is as follows:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;LOAD Date,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;FROM `OS1`;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Now I want to create a new field (Tablename) which always shows the value OS1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870447#M470466</guid>
      <dc:creator>mcornips</dc:creator>
      <dc:date>2015-05-15T17:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870448#M470467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/buzzy996"&gt;buzzy996&lt;/A&gt; &lt;/STRONG&gt;mentioned&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OS1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Date,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;'OS1' as Tablename&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM `OS1`;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or use this for what I mentioned:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;OS1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL SELECT *&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM `OS1`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Join(OS1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TableName(0) as Tablename&lt;/STRONG&gt; // 0 within parenthesis will depend on which table number it is in your load where first table = 0, second = 1, third = 2 and so on...&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident OS1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;HTH&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870448#M470467</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T17:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870449#M470468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny, this works.&lt;/P&gt;&lt;P&gt;But actually I would like to use the tablename of the source database.&lt;/P&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Substation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD Date,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value1,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value2,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-size: 13.3333320617676px; font-family: inherit;"&gt;'OS1' as Tablename&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL SELECT *&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM `OS1`;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870449#M470468</guid>
      <dc:creator>mcornips</dc:creator>
      <dc:date>2015-05-15T17:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870450#M470469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if I know how to do that. Might be somebody else knows how to do it &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;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870450#M470469</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T17:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870451#M470470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, with your answers I can continue anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Maurice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870451#M470470</guid>
      <dc:creator>mcornips</dc:creator>
      <dc:date>2015-05-15T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new field in the LOAD-statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870452#M470471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's true &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, but I still hope that you find a better solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 17:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-in-the-LOAD-statement/m-p/870452#M470471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-15T17:51:58Z</dc:date>
    </item>
  </channel>
</rss>

