<?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 Add extra field in QV Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231101#M82880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If i understood your question properly. Below is the code.&lt;/P&gt;&lt;P&gt;Load Id,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;'Customer' as Type&lt;/P&gt;&lt;P&gt;From Customer_Table;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;Load Id,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;'Supplier' as Type&lt;/P&gt;&lt;P&gt;From Supplier_Table;&lt;/P&gt;&lt;P&gt;Hope this may help you.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Oct 2010 13:36:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-07T13:36:13Z</dc:date>
    <item>
      <title>Add extra field in QV Table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231097#M82876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new in Qv and now I have the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two SQL Tables with the same fields. I load them in QV and then I want to join thel in one table (I think it should not be a problem as they have same fields) but before joining I want to add one field for the first one and one for the second and I want this field to have user defined value(I want to define the value in the csript, not with input field). For example I have one table with customers and one with suppliers and when I join the tables in QV I want to have a field with info which record is customer and which is supplier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231097#M82876</guid>
      <dc:creator />
      <dc:date>2010-10-07T13:11:51Z</dc:date>
    </item>
    <item>
      <title>Add extra field in QV Table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231098#M82877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello plss , provide you problem clearly.&lt;/P&gt;&lt;P&gt;Moeover u can alias or rename field name in qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231098#M82877</guid>
      <dc:creator />
      <dc:date>2010-10-07T13:21:57Z</dc:date>
    </item>
    <item>
      <title>Add extra field in QV Table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231099#M82878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will give an example:&lt;/P&gt;&lt;P&gt;CustomerTable:&lt;/P&gt;&lt;P&gt;ID Name Address&lt;/P&gt;&lt;P&gt;1 CSCS New York&lt;/P&gt;&lt;P&gt;2 DDDD Chicago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SupplierTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID Name Address&lt;/P&gt;&lt;P&gt;1 FGFGF New York&lt;/P&gt;&lt;P&gt;2 DSRYJ Chicago&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to join them in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID Name Address&lt;/P&gt;&lt;P&gt;1 FGFGF New York&lt;/P&gt;&lt;P&gt;2 DSRYJ Chicago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 CSCS New York&lt;/P&gt;&lt;P&gt;2 DDDD Chicago&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want to add extra field, so it look like this:&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type ID Name Address&lt;/P&gt;&lt;P&gt;Supplier 1 FGFGF New York&lt;/P&gt;&lt;P&gt;Supplier 2 DSRYJ Chicago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer 1 CSCS New York&lt;/P&gt;&lt;P&gt;Customer 2 DDDD Chicago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231099#M82878</guid>
      <dc:creator />
      <dc:date>2010-10-07T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Add extra field in QV Table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231100#M82879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There are several ways to do that. If both tables are not related but you want them to be just one table, you can concatenate them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table:LOAD *, 'Customers' AS RECORD_TYPE;SQL SELECT *FROM Table;CONCATENATE // Not needed if both tables have exactly same number and names of fieldsLOAD *, 'Suppliers' AS RECORD_TYPE;SQL SELECT *FROM Tabl2;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This will append Suppliers data to Customers data. If they are related (say Invoice headers and lines) you can join them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;InvoiceData:LOAD *, Year &amp;amp; '/' &amp;amp; InvoiceNo AS DOCUMENT_NO;SQL SELECT *FROM InvoiceHeaders;JOINLOAD *, Year &amp;amp; '/' &amp;amp; InvoiceNo AS DOCUMENT_NO;SQL SELECT *FROM InvoiceLines&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You can use any QlikView function to create new fields in your LOAD statement.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:32:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231100#M82879</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-07T13:32:40Z</dc:date>
    </item>
    <item>
      <title>Add extra field in QV Table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231101#M82880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If i understood your question properly. Below is the code.&lt;/P&gt;&lt;P&gt;Load Id,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;'Customer' as Type&lt;/P&gt;&lt;P&gt;From Customer_Table;&lt;/P&gt;&lt;P&gt;CONCATENATE&lt;/P&gt;&lt;P&gt;Load Id,&lt;/P&gt;&lt;P&gt;Name,&lt;/P&gt;&lt;P&gt;Address&lt;/P&gt;&lt;P&gt;'Supplier' as Type&lt;/P&gt;&lt;P&gt;From Supplier_Table;&lt;/P&gt;&lt;P&gt;Hope this may help you.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231101#M82880</guid>
      <dc:creator />
      <dc:date>2010-10-07T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Add extra field in QV Table</title>
      <link>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231102#M82881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You very much. It works. This was really stupid question, but as I said I am new in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 13:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-extra-field-in-QV-Table/m-p/231102#M82881</guid>
      <dc:creator />
      <dc:date>2010-10-07T13:45:17Z</dc:date>
    </item>
  </channel>
</rss>

