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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Igor_V
Contributor
Contributor

tXMLMap join of 3 tables problem

Hello community,

I have 3 tables:

ContactPerson  with 1 record

ContactPersonId ="Smith"

Document with 2 records ContactPersonId = "Smith"; DocumentId= "Doc1";

ContactPersonId = "Smith"; DocumentId = "Doc2";

Educations with 2 records ContactPersonId= "Smith"; EducationType = "First";

ContactPersonId = "Smith"; EducationType = "Second";

In TOS For ESB 7.4.1 in tXMLMap I join this 3 table as:

0695b00000G36aPAAR.jpg

The result is:

<ContactPerson ContactPersonId="Smith">

<Document>

<DocId DocumentId="Doc1"/>

<DocId DocumentId="Doc1"/>

<DocId DocumentId="Doc2"/>

<DocId DocumentId="Doc2"/>

</Document>

<Education>

<EduType EducationType="First"/>

<EduType EducationType="Second"/>

<EduType EducationType="First"/>

<EduType EducationType="Second"/>

</Education>

</ContactPerson>

Data duplicates !

How can I generate the correct schema as?

<ContactPerson ContactPersonId="Smith">

<Document>

<DocId DocumentId="Doc1"/>

<DocId DocumentId="Doc1"/>

</Document>

<Education>

<EduType EducationType="First"/>

<EduType EducationType="Second"/>

</Education>

</ContactPerson>

I tried to change Lookup, Match and Join Models, but did not find the correct option.

Labels (3)
1 Reply
Anonymous
Not applicable

@Grapeus Grapeus​ , It is a new feature request, the component need a group option while there are multiple loop elements. Some relevant issues have been open on Talend Bugtracker.

 

Regards

Shong