Skip to main content
Announcements
See why Qlik was named a Leader in the 2025 Gartner® Magic Quadrant™ for Augmented Data Quality Solutions: GET THE REPORT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

join is not working

hello all

here is my code :

a :
LOAD REFERENCEKEYID,
STATUS,
DATE_TIME ,
USER_NAME,
OPERATION
FROM
[.......QVD\M2R_GUI_COMMENT_20160905.qvd]
(
qvd) ;

LOAD DATE_APPLI,
REPORTINGID,
SOURCENAME,
ACKTRANSACTIONID as REFERENCEKEYID,
SUPERVISORPARTYNAME,
FROM
[D.......QVD\VIP_REP_M2R_DTM_ACKTRANSACTION_20160905.qvd]
(
qvd) ;

can you tell me why i lose the information of the seconde qvd. ( VIP_REP_M2R_DTM_ACKTRANSACTION_20160905.qvd]).

when i create the straight table for example i cannot see  in the same line  REFERENCEKEYID and SUPERVISORPARTYNAME. (no value for SUPERVISORPARTYNAME.)

i have tried the left join and right join and concatenate but it's not working.

i attached a scrrenshot.

thank in advance for your help.

11 Replies
saimahasan
Partner - Creator III

Please check whether the field REFERENCEKEYID has the same data type...

saimahasan
Partner - Creator III

is this field having the numbers as numbers or text??

krishnacbe
Partner - Specialist III

Hi,

If the Key Column is Text, then check for Case. Or try to replace the Field Name with UPPER(ACKTRANSACTIONID) as REFERENCEKEYID.

effinty2112
Master

Hi ferhat,

               Take a look at the tableviewer and hover over the key field REFERENCEKEYID . If the subset ratios for this field in each table add up to 100% then there are no values for this field common to both tables.

Good luck

Andrew

jonathandienst
Partner - Champion III

It looks like he REFERENCEKEYID values from the first table do not fully align withe the ACKTRANSACTIONID values you are loading in the second table. Either the value ranges do not intersect properly, or the format of the values is different. Try REFERENCEKEYID in a list box - if some values are left aligned and others are right aligned, then the one table is producing a numbers as text and the other as number.

Try loading like this:

LOAD Text(REFERENCEKEYID) as REFERENCEKEYID,

STATUS,

DATE_TIME ,

USER_NAME,

OPERATION

FROM

[.......QVD\M2R_GUI_COMMENT_20160905.qvd]

(qvd) ;

LOAD DATE_APPLI,

REPORTINGID,

SOURCENAME,

Text(ACKTRANSACTIONID) as REFERENCEKEYID,

SUPERVISORPARTYNAME,

FROM

[D.......QVD\VIP_REP_M2R_DTM_ACKTRANSACTION_20160905.qvd]

(qvd) ;

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

hi,

REFERENCEKEYID and ACKTRANSACTIONID is the same data type (number)


regards

Not applicable
Author

hi,

i have tried this your suggestion but it's not working. the REFERENCEKEYID and ACKTRANSACTIONID are number format.

the request in oracle works fine

Regards

Anil_Babu_Samineni

Can you post application?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

hi Andrew,

the subset ratio in the table M2R_DTM_ACKTRANSACTION on the field REFERENCEKEYID is 0.76%