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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

After Concatenate a matching field goes to null

Hi, I've used the  Concatenate statement in my script to merge two tables, but I'm not getting the result that I'm looking for. A matching field between the two tables goes to null.

Table A

FieldAFieldB
110
220

Table B

FieldBFieldC
250
360

After Concatenate my result is (the values of FieldB on TableB go to null) :

FieldAFieldB

FieldC

110
220
50
60
1 Solution

Accepted Solutions
Not applicable
Author

It was something about a missing field in the relation between the main fact table and its foreign key, in the 2nd table with less field I just add a 0 named fiel into the script and works.

Thanks

View solution in original post

6 Replies
sunny_talwar

Cannot seem to replicate your issue.

Capture.PNG

Can you may be share your sample?

Not applicable
Author

That's right, in regular basis that's the behaviour of CONCATENATE, but I'm tryng to figure it out in wich scenarios this can happen?

swuehl
MVP
MVP

I think it has to do with how you load your tables and do the CONCATENATE.

As Sunny showed, we can't replicate the issue with the data provided, so we need to find out where your setting is differs from above.

Would you mind sharing a small sample QVW that demonstrates your issue or at least some more details, like the your script / document log, more detailed description of the values contained in that common field etc?

Not applicable
Author

It was something about a missing field in the relation between the main fact table and its foreign key, in the 2nd table with less field I just add a 0 named fiel into the script and works.

Thanks

effinty2112
Master
Master

Hi Pedro,

It looks as if your script is something like

concatenate([Table A])

Load

FieldC //FieldB omitted

Resident [TableB];

swuehl
MVP
MVP

Ok, I am glad CONCATENATE works as expected, though I haven't understood yet how your key fields messed this up.

Never mind, please close this thread.