G
Guest
My individual iif statements work beautifully but I need to add them to get a
grand total. Is there a way to add the two iif statements in the control
source for a report? I am missing something and I don't know what it is.
Help!
=IIf([prod cat]="PE",[SumOfCommit],0)
=IIf([Prod Cat]="PE",
Sum([SumOfAUM])-[SumOfAUM],
IIf([prod cat]<>"PE",
Sum([SumOfAUM])))
I tried this and it didn't work:
=sum(IIf([prod cat]="PE",[SumOfCommit],0),
IIf([prod cat]="PE",
Sum([SumOfAUM])-[SumOfAUM],
IIf([prod cat]<>"PE",
Sum([SumOfAUM]))))
grand total. Is there a way to add the two iif statements in the control
source for a report? I am missing something and I don't know what it is.
Help!
=IIf([prod cat]="PE",[SumOfCommit],0)
=IIf([Prod Cat]="PE",
Sum([SumOfAUM])-[SumOfAUM],
IIf([prod cat]<>"PE",
Sum([SumOfAUM])))
I tried this and it didn't work:
=sum(IIf([prod cat]="PE",[SumOfCommit],0),
IIf([prod cat]="PE",
Sum([SumOfAUM])-[SumOfAUM],
IIf([prod cat]<>"PE",
Sum([SumOfAUM]))))