Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
hitha1512
Creator
Creator

Data mismatch between tables to be displayed in particular format

Hi Team,

Please find below screen shot for the requirement. I have 2 tables and i want the data as per output displayed. 

Table 2 data when compared with Table 1, should give the matching results and data not matching should be displayed as "no data"

Table 1 data when compared with Table 2, should give the matching results and data not matching should be displayed as "no data"

hitha1512_0-1676021486165.png

 

Thank you,

Hitha D

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be just a join (full) with composite key. Like:

T1:
Load *,
ID&Item as KEY inline [
ID, Item
1, Red
2, Blue
3, Green
4, Yellow
5, Grey
];
Join
T2:
Load *,
ID&Item2 as KEY inline [
ID, Item2
1, Red
2, Blue
3, Pink
4, Yellow
5, White
];
Drop Field ID;

tresesco_0-1676024168303.png

 

Then replace the null values.

View solution in original post

2 Replies
tresesco
MVP
MVP

May be just a join (full) with composite key. Like:

T1:
Load *,
ID&Item as KEY inline [
ID, Item
1, Red
2, Blue
3, Green
4, Yellow
5, Grey
];
Join
T2:
Load *,
ID&Item2 as KEY inline [
ID, Item2
1, Red
2, Blue
3, Pink
4, Yellow
5, White
];
Drop Field ID;

tresesco_0-1676024168303.png

 

Then replace the null values.

hitha1512
Creator
Creator
Author

Yes, That works. Thank you:)