The suggestion on that thread involves inserting custom SQL directly into the database. If you do that, you would need to query the table for your UnDP value.