Make coalesce generic
Use value or text