Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Mch201
Contributor III
Contributor III

two tables in one excel file. How to separate them after importing to Qlik Sense

I have an excel sheet with 2 tables in the same sheet. But when I export that sheet to Qlik Sense, Qlik Sense recognizes it as one long table. is there a way to separate the two tables on Qlik Sense. 

 

here is how is looks on Excel vs Qlik Sense

on Excel:

customerproductquantity 
Johnse226
Johnse239
Johnse223
Johnse227
Johnse226
Johnse226
Johnse2287

 

customerproductquantity 
Brianse665
Brianse233
Brianse2277
Brianse5744
Brianse435
Briansr9989
Brianse112

 

 

on Qlik Sense: Its just one long table instead of two small ones

customerproductquantity 
Johnse226
Johnse239
Johnse223
Johnse227
Johnse226
Johnse226
Johnse2287
customerproductquantity 
Brianse665
Brianse233
Brianse2277
Brianse5744
Brianse435
Briansr9989
Brianse112
Labels (3)
3 Replies
GaryGiles
Specialist
Specialist

If you are having this issue after loading the tables in Qlik Sense from Excel, you need to place a NoConcatenate statement before the loading of you second table.  Qlik Sense will, by default, concatenate tables with the same columns names.  You may also want to rename the fields of the second table or Qualify field names to avoid the creation of synthetic keys.

One other option would be to load both tables into one table and adding a column called Source to distinguish which table a row came from.

mikaelsc
Specialist
Specialist

where customer <> 'customer' and len(trim(customer))>0

(or something similar) 

Seyko
Partner - Creator
Partner - Creator

Hello,

It's easy to fix that! You just need to give a name at each table on your excel sheet (like in attached file). Qlik Sense will recognize them like two differents tables.

https://trumpexcel.com/named-ranges-in-excel/

Regards

Excuse my english, i'm french!