Expressions to convert ID Value to a Name Value

  • Hi All,

    I have a dataset which is returns a few Priority Ids, i.e 1,2,3,4

    What is the best expression function used to convert these Priorty values to Names

    i.e

    If Priority ID = 1, display ‘Low’

    If Priority ID = 2, display ‘Medium

    If Priority ID = 3, display ‘High

    If Priority ID = 4, display ‘Critical

    Would the IFF statement allow multiple conditions?

    Regards,

    Robbie

  • Found this:

    Switch

    (Fields!Priority.Value= 1,"1-Critical",

    Fields!Priority.Value= 2,"2-High",

    Fields!Priority.Value= 3,"3-Medium",

    Fields!Priority.Value= 4,"4-Low",

    Fields!Priority.Value= 5,"5-Question")

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply