I have a flatfiles as a source I'm loading 4files at a time using indirect load, here I want to load only distinct rows, if a record present in file1, the same record may contain in file2. So I need to insert only 1 record, the record should ignore, I tried sorter transformation distinct option, but it's not worked as I'm fetching the filename to the target. As filename is differs sorter thinks it's a distinct values.
Please help me with solution how to load only distinct records.