how do i used nested IFF statement in a report?
i have a calculated field in my report (Net Sales %) and I want to create another calculated field (Incentive Earned) using the data from Net Sales % field such that if Net Sales is between 10% and 20%, Incentive Earned is 1% times another field (Net Sales$); if Net Sales is between 20% and 30%, Incentive Earned is 2% times Net Sales $, etc.
The syntax I used is something like...
=IIf([TotalNetSales%]>=0.1<0.2,[TotalNetSales]*1.01)OR IIf([TotalNetSales%]>=0.2<0.3,[TotalNetSales]*1.02)...
i have a calculated field in my report (Net Sales %) and I want to create another calculated field (Incentive Earned) using the data from Net Sales % field such that if Net Sales is between 10% and 20%, Incentive Earned is 1% times another field (Net Sales$); if Net Sales is between 20% and 30%, Incentive Earned is 2% times Net Sales $, etc.
The syntax I used is something like...
=IIf([TotalNetSales%]>=0.1<0.2,[TotalNetSales]*1.01)OR IIf([TotalNetSales%]>=0.2<0.3,[TotalNetSales]*1.02)...