Link to home
Start Free TrialLog in
Avatar of Pdeters
Pdeters

asked on

Business Objects report - If then statement

I am creating a Business Objects report and in one of the field I have this

=If([MgrApproved]="N" And [ApprovalRequired] = "Y";"Pending";"Approved")

This gives me either Penidng or approved.

What I want is a third option that if if the first optin is N and the second option is N  that I get the answer of "Declined"

How would the If then statement go in Business Objects Report
Avatar of Mike McCracken
Mike McCracken

I don't know the proper syntax but something like this

=If([MgrApproved]="N" ; if([ApprovalRequired] = "Y";"Pending";"Declined");"Approved")

mlmcc

Avatar of Pdeters

ASKER

Can I have more than 1 If statement
Avatar of Pdeters

ASKER

This is the syntax I am currently using

=If([MgrApproved]="N" And [ApprovalRequired] = "Y";"Pending";"Approved")
This gives me either Penidng or approved.

 What I want is 3 scenarios

if YY then Approved
IF NY Pending
if NN declined

Avatar of Pdeters

ASKER

I would I get three different options/ scenarios
ASKER CERTIFIED SOLUTION
Avatar of Pdeters
Pdeters

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What happened to declined?

You also changed the fields being used.
My syntax probably showed you how to get the correct result

mlmcc
Avatar of Pdeters

ASKER

that is what worked