I have the following expression within a report:
= Switch( Fields!RATE_CODE.Value = "First", " £/Week",
Fields!RATE_CODE.Value = "Second", " £/Day")
I’ve searched all over but cannot find a way to add an else or default to this expression. There doesn’t seem to be any doc’s on this contruct either.
Is this possible?
The
Switchfunction returns the value associated with the first expression in a series that evaluates to true, you can use the following trick: