There are some situations where you need to create a new data item based on different conditions. To do this, you need to use the CASE statement available in the Expression Editor window. Watch SAS Instructor, Lynn Matthews, give a step-by-step tutorial.
You can learn about this topic and more in Creating Information Maps Using SAS 9.2.