Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Re: JOINS IN QV

Hi,

I am new to QV, only started yesterday.

I need to join two tables. I get my data from two CSV files: SALES_TRANSACTION_DETAIL.csv and CATEGORY.csv

This is the code that I would use in SQL:

---------------------------------------------------

SELECT TD_PRODUCTCODE, TD_DESCRIPTION, CT_NAME

FROM SALES_TRANSACTION_DETAIL

LEFT OUTER JOIN CATEGORY

ON CT_CODE = TD_CATEGORY_ID3

---------------------------------------------------

How would I join the two tables in QV.

Please, any help will be appreciated.

2 Replies
Miguel_Angel_Baeyens

Hello,

When loading your table in QlikView, name key fields the same, i. e.: in this case

LOAD ... CT_CODE AS PK_EXAMPLE ... LEFT JOIN LOAD ... TD_CATEGORY_ID3 AS PK_EXAMPLE ...
You will get one unique table with values joined by that field.

Hope this helps.

Not applicable
Author

Thanks for the reply.