Bill_misc_IT Posted November 26, 2008 Share Posted November 26, 2008 I'm trying to get the following case statement to work, but have been unsuccessful. I have a field called total score and want another field to display Preferred, Needs Improvement, or Problem based on the score. I've created a calculation field with the following case statement, but a score of 69 returns "preferred". What am I doing wrong? Is the greater than/equal the wrong string? Case ( 90≤total_score ≤ 100 ; "Preferred" ;70≤total_score ≤89 ; "Needs Improvement" ;"Problem Supplier") Link to comment Share on other sites More sharing options...
Digital Life Posted November 26, 2008 Share Posted November 26, 2008 I think it should be: Case(total score > 89; "Preferred"; total_score > 69 and total_score < 90; "Needs Improvement"; "Problem Supplier) Link to comment Share on other sites More sharing options...
David Jondreau Posted November 26, 2008 Share Posted November 26, 2008 Greater/less than operators can't be used in a chain. Try: Case( total_score >= 90; "Preferred"; total_score >=70; "Needs Improvement"; "Problem Supplier" ) Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5769 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now