Forum Discussion
rolo1007
Mar 25, 2020Copper Contributor
Sequencing based on the Value
Hello,
I am trying to develop a sequence where the number resets to 1 when it encounters a new ID (Primary Mnemonic in this case).
Example:
| Primary Mnemonic | Sequence |
Bill | 1 |
Tom | 1 |
| Cheryl | 1 |
| Cheryl | 2 |
| Jack | 1 |
| Jack | 2 |
| Sam | 1 |
| Sam | 2 |
| Sam | 3 |
| Sam | 4 |
| Rob | 1 |
| Jess | 1 |
| Jess | 2 |
Any help is appreciated!
Thanks
3 Replies
- George HepworthSteel Contributor
- rolo1007Copper Contributor
Thank you! I did see that when I was trying to research it, but wasnt sure how to formulate to my information.
- George HepworthSteel Contributor
rolo1007 Does that mean you haven't worked out the query yet? Perhaps with some actual sample data (not pseudo data created for an example), we could help you with that.