Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Using Switch

I am trying to add a new measure to a table and using data from another column to standardize some fields. This is what I have an keep getting errors   Status = SWITCH(FRAM[elgibility},'Free', "F...
  • Chanty4u's avatar
    1 year ago

    Try this 

    Status =

    SWITCH(

        FRAM[eligibility],

        "Free", "Free",

        "Reduced", "Reduced",

        "Paid", "Paid",

        "Other" -- optional default value

    )