The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] Filtering Duplicate Table Data
Hi all, I have a simialirty to data module setup and I'm getting the following column outputs:
FIRST_ID, SECOND_ID, SIMILARITY
The way the pages are being compared means that the first id and second id are being displayed twice, for example
3, 2, 1.0
2, 3, 1.0
They are both the same but just in a different order. 3,2 and 2,3
I've been having a look at the remove duplicate module under Filtering, however I can't seem to find the correct rule or expression to only return unique values of the first and second id once.
Many thanks,
Mckenzie
FIRST_ID, SECOND_ID, SIMILARITY
The way the pages are being compared means that the first id and second id are being displayed twice, for example
3, 2, 1.0
2, 3, 1.0
They are both the same but just in a different order. 3,2 and 2,3
I've been having a look at the remove duplicate module under Filtering, however I can't seem to find the correct rule or expression to only return unique values of the first and second id once.
Many thanks,
Mckenzie
Tagged:
0
Answers
i do not have a one operator solution for you, but the process below solves the problem. I do not know if there is an easier way to do it.
Cheers,
Martin
Dortmund, Germany
Thanks for the reply. In the end I created an aggregate attribute similar to what you did and compared, ordered and concatenated the first and second by ID (using RegEx) to give a new unique ID then removed duplicates.
Many thanks for your help.
Mckenzie