Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Elaborate if statement works until I add another criteria

Featured Replies

Greetings

I am in the process of adding final touches to my Scorecard: a system which marks and measures sales performance.

Before Scorecard was implemented, we incentivised sales consultants based on sales targets hit AND margin made every month.

With the addition of Scorecard, I now have to add a new criteria to the calculation which calculates the incentive value that a consultant has earned.

The below statement works perfectly until I add a line (indicated here in red) which specifies that Scorecard points earned have to be higher than or equal to "First Scorecard Value" (in this case it is 60 points):B

If(

GetAsNumber(StartDate) ≥ 733042

[color:red]and

Total Scorecard Points Earned ≥ INCENTIVES::Scorecard First Target

and

MARGIN_TARGET~EmployeeID::Nett Sales Less Support ≥ INCENTIVES::First Sales Target

and

MARGIN_TARGET~EmployeeID::Nett Sales Less Support < INCENTIVES::Second Sales Target;

Case(

MARGIN_TARGET~EmployeeID::Total GP Sales Percentage ≥ INCENTIVES::First Target GP Sales Percentage and MARGIN_TARGET~EmployeeID::Total GP Sales Percentage < INCENTIVES::Second Target GP Sales Percentage;

INCENTIVES::First Sales Target First Incentive ;

MARGIN_TARGET~EmployeeID::Total GP Sales Percentage ≥INCENTIVES::Second Target GP Sales Percentage and MARGIN_TARGET~EmployeeID::Total GP Sales Percentage < INCENTIVES::Third Target GP Sales Percentage;

INCENTIVES::First Sales Target Second Incentive ;

MARGIN_TARGET~EmployeeID::Total GP Sales Percentage ≥ INCENTIVES::Third Target GP Sales Percentage ;

INCENTIVES::First Sales Target Third Incentive)

Can anyone see a blatantly obvious mistake?

Advice would be appreciated!

What table is the Total Scorecard in?

and

Total Scorecard Points Earned ≥ INCENTIVES::Scorecard First Target

For starters, I'd pop this part of the statement into the Data Viewer Watch List (or a custom dialog if you don't have advanced) and see if it *ever* returns true.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.