I have a datatable which i need to convert into a different format however before that i need to remove the duplicate data based on below criteria. there are below 3 columns.
Customer Number
Currency
Account Number
Criterias
- If the same customer number has duplicate currency with Value CZK then the account number with lower series should be considered and other row with higher series should be removed
2.Any other duplicate currency to be considered in my output - Any non duplicate row to be considered in my output.
Below is sample data, the records in bold should be removed
Customer Number | Currency | Account Number |
---|---|---|
** | 451 | CZK |
451 | CZK | 61 |
** | 451 | CZK |
451 | IMP | 349 |
451 | MUR | 354 |
** | 136 | CZK |
136 | CZK | 18 |
136 | GHS | 270 |
136 | GHS | 102 |
136 | HTG | 349 |
Can someone help please