SOLVED
Multi Row ID Grouping
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
PWaicus
7 - Meteor
‎08-10-2019
10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi - I have a dataset where the [User ID] field could be similar across a various number of rows (they are not duplicate records, as other fields are different). I just want to assign a unique number to any row or groups of rows with matching [User ID]. So if there are 3 rows with [User ID]="123", they would all get a new ID field with the same number, as shown below.
User ID Record ID
123 1
123 1
456 2
789 3
789 3
789 3
789 3
Solved! Go to Solution.
Labels:
- Labels:
- Workflow
3 REPLIES 3
20 - Arcturus
‎08-10-2019
10:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
If you use a multi row formula tool you can check to see if user equals row-1 user. If equal assign row-1 I'd. Otherwise row-1 I'd plus 1.
Sorry about iPhone answer.
Cheers,
Mark
Sorry about iPhone answer.
Cheers,
Mark
Alteryx ACE & Top Community Contributor
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
17 - Castor
‎08-10-2019
10:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @PWaicus if you use this syntax "IF [User ID]=[Row-1:User ID] THEN [Row-1:Rank] ELSE [Row-1:Rank]+1 ENDIF" in the Multi Row tool it should produce the output you described.
‎08-10-2019
10:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you!!!
