I'm using a switch statement and being new to SSRS I'm not familiar with the syntax needed to get this switch statement to work. The first condition works okay, but others are ignored.
=Switch(Fields!DaysToFull.Value > "1299","> 2050",Fields!DaysToFull.Value>"365"<"1299","more than a year",Fields!DaysToFull.Value>"183"<"365","more than 6 months",Fields!DaysToFull.Value>"30"<"60","more than a month",Fields!DaysToFull.Value>"7"<"30","more than a week",Fields!DaysToFull.Value<"7","less than a week")
The intention is to check the value of a number and display text based on that value. For example, if the number in the 'DaysToFull' field is greater than 365 and less than 1299 display "more than a year". I've used this in a similar context but not with greater than AND less than conditions in the same statement. Any help is appreciated.
Thanks in advance
Adam