SOLVED
Finding duplicate record based on another field value within the group
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
jramidi
6 - Meteoroid
03-23-2020
04:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Alteryx Community Team,
I am trying to find duplicate record based on another field value within a group by using Multi-Row tool and running into issues.I appreciate any suggestions to solve this problem.
My requirement:
- If only one record “Change” field value is "Y" out of all records at “Customer” field group level then update “Delete” field value as “N” else update it as “Y” for all records within the same group.
Here I am attaching the sample workflow for your easy reference.
The expected output table data is as follows:
| Customer | Change | Duplicate |
| ABC | Y | N |
| ABC | N | |
| ABC | --- | N |
| ABC | N | |
| ABC | N | |
| BCD | Y | Y |
| BCD | Y | Y |
| BCD | Y | |
| CDE | Y | |
| CDE | --- | Y |
| DEF | Y | |
| DEF | Y | Y |
| DEF | Y | |
| DEF | Y | Y |
| DEF | Y | |
| EFG | Y | N |
| FGH | N | |
| FGH | Y | N |
| FGH | --- | N |
| GHI | N | |
| GHI | Y | N |
| HIJ | Y | N |
| HIJ | --- | N |
Solved! Go to Solution.
2 REPLIES 2
17 - Castor
03-23-2020
04:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
03-23-2020
04:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@DavidP - Thanks a lot for your quick response. This solution does work for my problem. Much appreciated!
