Joshua Mack Posted January 24, 2023 Posted January 24, 2023 I attempted to write an expression to filter out some unit of measurements if one was true over the other but to no avail. IF J001.FOLDER1.IQUOM EQ 'EA' ELSE J001.FOLDER1.IQUOM NE 'IP', 'CS' IF J001.FOLDER1.IQUOM EQ 'IP' ELSE J001.FOLDER1.IQUOM NE 'EA', 'CS' IF J001.FOLDER1.IQUOM EQ 'CS' ELSE J001.FOLDER1.IQUOM NE 'EA', 'CS'2nd attempt still no goodIF (J001.FOLDER1.IQUOM) EQ 'EA' THEN (J001.FOLDER1.IQUOM) NE 'IP' OR 'CS' AND IF (J001.FOLDER1.IQUOM) EQ 'IP' THEN (J001.FOLDER1.IQUOM) NE 'EA' OR 'CS' AND IF (J001.FOLDER1.IQUOM) EQ 'CS' THEN (J001.FOLDER1.IQUOM) NE 'IP' OR 'EA'
Martin Yergeau Posted January 24, 2023 Posted January 24, 2023 An IF/ELSE statement must be written as per below syntaxIF AA EQ BB AND DD EQ EE THEN FFELSE IF GG EQ HH AND JJ EQ KK THEN LLELSE MM;Where AA, BB, CC, DD, EE, FF, GG, HH, JJ, KK, LL & MM are fields or values to test.
Recommended Posts
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