Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
BTproj
Contributor
Contributor

Use dimension from other table as filter after concatenating 2 tables in qliksense

Hello People,

I want to use dimension from other table as filter after concatenating 2 tables.

For example, i have two tables namely,

Table A :

customer_id, nric_id

Table B :

customer_id, product, sales

 

I want to use 'nric_id' as filter and get values of product and sales, But values are not coming. When i use customer_id as filter, i am getting values for product and sales (As customer_id is present in both the tables).

 

Please let me know on how to use 'nric_id' as filter to get values for product and sales.

##################################################################### Edit 1

Table A

qlik_s3.PNG

 

Table B

qlik_s4.PNG

 

Both tables are concatenated in qliksense.

 

Please have a look at the screenshots,

1st screenshot - when customer_id is selected as filter, product and sales value appear.

qlik_s1.PNG

2nd screenshot - when nric_id is selected as filter, product and sales value does not appear.

qlik_s2.PNG

 

Thanks

Balaji

 

 

 

Labels (1)
1 Solution

Accepted Solutions
Pertjo
Partner - Contributor III
Partner - Contributor III

I found your problem! 

You are concatenating 2 tables. 

So you don't have 2 tables you have one by just smashing them together. 

So you should create a new app and not concatenate the tables. I would recommend you to not use the self-service part and learn how the script editor works because you will always understand all the changes that are happening to your data. 

 

If you have to use the self-service then follow these steps: 

1. create an app. 

2. Select "Add data from files and other sources"

3. Select the excel-file and both tables, then press the green button "add data"

4.  When the loading is done you should see 2 bubbles, drag and drop one of the bubbles to the other and load data by pressing the green button. 

5. now everything should work. 

 

 

 

View solution in original post

6 Replies
Pertjo
Partner - Contributor III
Partner - Contributor III

You can try this: 

 

If you have a table with 

dimensions: customer_id, product

and measurment sum(Sales)

And put out a filterPanel with nric_id it should work. 

BTproj
Contributor
Contributor
Author

Hi @Pertjo , please have look at my question. I have added the screenshots of the dashboard along with both the tables.

Pertjo
Partner - Contributor III
Partner - Contributor III

Something must be wrong. 

I just did a try, could you please send me a screenshot of the data model? 

 

This is how it should look like. 

and send the app if possible

BTproj
Contributor
Contributor
Author

I have attached qliksense app in my question. Please have a look at it. Thanks in advance.

Pertjo
Partner - Contributor III
Partner - Contributor III

I found your problem! 

You are concatenating 2 tables. 

So you don't have 2 tables you have one by just smashing them together. 

So you should create a new app and not concatenate the tables. I would recommend you to not use the self-service part and learn how the script editor works because you will always understand all the changes that are happening to your data. 

 

If you have to use the self-service then follow these steps: 

1. create an app. 

2. Select "Add data from files and other sources"

3. Select the excel-file and both tables, then press the green button "add data"

4.  When the loading is done you should see 2 bubbles, drag and drop one of the bubbles to the other and load data by pressing the green button. 

5. now everything should work. 

 

 

 

BTproj
Contributor
Contributor
Author

Thanks for the reply. But my requirement is to do concatenation of tables by qliksense. so i wanted to know on how to select fields from other table as filter.