Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Issue with using a calculated column in a selection list

I'm using the following calculated column (CityRename) in a slection list. I'm finding that the slection list doesn't provide the correct results if I choose "Dear Park". In Managed relationships I'v...
  • ExcelMonke's avatar
    2 years ago

    Consider changing the calculation to:

    CityRename = 
    SWITCH(
    'City'[Name],
    "Dear Field","Dear Park",
    "Dear Park", "Dear Park",
    'City'[Name]
    )