DataPort group data

Yes I tried.

The problem is that DataItem Dataport is Purch. Inv. Line, so, the same record is printed in TXT file more than once (= Purch. Inv. Line line number).

The file record is correct, but repeat more than once.

I need only one recor by Purch. Inv. Line.Document nº

How can I do That?