Hello Francisco,
It seems that you use Join in aggregate which goes wrong that's why its mapping one record with each record of another entity.
Try to resolved by correcting this Join or you can use "ListDistinct". Check below link for more details.
https://www.outsystems.com/forums/discussion/55461/how-to-get-distinct-value-in-a-record-list-using-filter/
I hope this will work for you. Have a nice day!
Best Regards,
Madhuri