Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
MK_QSL
MVP
MVP

Reference to Same Table

I have customer data table as below.

CustomerCountry
AGermany
BFrance
CItaly
DSpain
EPoland
FSweden
GTurkey
HDenmark

We are comparing two customers based on sales strength. Below is the table which is fixed to compare the customers.

Customer1Customer2
AD
BF
CE
HG

I want to create a customer wise sales bar chart, so that if I select any customer from Customer List Box, the bar chart will show corresponding Customer1 vs Customer2 sales.

i.e. If i select G, the bar chart will reflect Sales for H & G.

Note : We have more than 200 customers, so the solution should be dynamic....

16 Replies
giakoum
Partner - Master II
Partner - Master II

so this is your link table :

Customer1Customer2
AD
BF
CE
HG

and you need to load customer twice. one instance connected to customer1 (rename customer to customer1 in table customer) and the other connected to customer2. Does this make sense?

MK_QSL
MVP
MVP
Author

Can you upload your result QVW file?

giakoum
Partner - Master II
Partner - Master II

i don't have one

do you have a sample application?

giakoum
Partner - Master II
Partner - Master II

see attached

MK_QSL
MVP
MVP
Author

Sample file enclosed.

MK_QSL
MVP
MVP
Author

No... Actually these two Customer1 and Customer2 should be linked with Customer,

so that when I select a particular customer from Customer List BOX,

I would get Customer1 and Customer2 data in two different column.

giakoum
Partner - Master II
Partner - Master II

more detailed

MK_QSL
MVP
MVP
Author

We must need Customer field.

You are providing Customer1 and Customer2 fields but not Customer field.

IAMDV
Master II
Master II

Manish - How about this approach? See this makes sense.... this is completely dynamic.

I hope this helps!

Cheers,

DV