Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

need a table for the data in the resultant table inqlikview

hi i have two data sets with same column names so when i have loaded they have joined automatically in to a single table but i need to know the data in that table belongs to table1 or table2 ..so i need a column in the resultant table showing table1 or table2 for the data...in qlikview

1 Reply
krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

Try below

Load *,

'Table1' as TableName;

SQL Select * from Tablename;

Load *,

'Table2' as TableName;

SQL Select * from Tablename;

with the TableName  field you can identify the source table.