Forum Discussion

andrewkla's avatar
andrewkla
Frequent Visitor
5 years ago
Solved

Calculated column to flag first occurences only

I've got a column with repetitive ID's and I'm trying to get a calculated column to flag first entries (or any as long as it's one flag only per group of ID's), with the remaining rows being flagged as somthing else, or blank. Example of what I'm trying to achieve (I need the Flag claculated column).

IDFlag
1231
1230
1230
1581
1580
7841
7840
7840
7840
9661
9660

 

I've tried a ranking, with a combination of ID = Earlier ID etc

but can't get it to have a value in just one row and zero's in others, like in my example above, any help appreciated!

2 Replies