Custom 'string' columns on optimize

Anyone know how do do this? I see an example for custom numeric columns, but I want to add a string (currently adding a number and manually looking up a string table, but that is not very nice)

It’s not clear what exactly you’re trying to do, but AddCustomMetric will accept either a numeric value or a string as the second parameter. See the AB Help here: