Hello,
I have a table with measurements, some are done within the day and some across different days. I would like to create a column that gives the measurement a unique identifier string using the date and a SEQUENTIAL NUMBER FOR THE DAY.
This would look like this:
| Identifier | Date | Data |
| M160723-0001 | 23-07-16 | 3445 |
| M160723-0002 | 23-07-16 | 2455 |
| M160723-0003 | 23-07-16 | 2234 |
| M160723-0004 | 23-07-16 | 2334 |
| M160723-0005 | 23-07-16 | 2455 |
| M160725-0001 | 25-07-16 | 7658 |
| M160725-0002 | 25-07-16 | 6785 |
| M160725-0003 | 25-07-16 | 7657 |
| M160725-0004 | 25-07-16 | 5678 |
| M160725-0005 | 25-07-16 | 6575 |
| M160729-0001 | 29-07-16 | 7889 |
| M160729-0002 | 29-07-16 | 5764 |
| M160729-0003 | 29-07-16 | 4565 |
The column I need JMP to create is the "Identifier column". I have been playing with the Row(), Subscript() and other functions but I have only managed to make JMP crash.
I have this piece of formula for the first part but I am struggling with the counter part:
"M" || Right( Char( Year( :Date ) ), 2 ) ||
Char( Month( :Date ) ) || Char( Day( :Date ) )
|| "-" || ????
Any suggestions are really welcome!