The second question will involve a bit more logic. We typically recommend handling this in a JS transformer & then passing that transformer into the table. Here's a potential solution: