Jump 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.

Percentage calculation won't work

Featured Replies

I'm Trying to get a field called "Percentage Improvement" to calculate percentage based on a total annual improvement / an initial test result and then *100

My problem comes because the initial test result is entered via a pull down menu the scoring scale starts out with "Emerging" and then continues 1,2,3...etc.

If the initial test result is "emerging" then I need it to calculate the percentage differently than if the result is a number. I tried to use a case clause to describe the two possibilites, but it keeps telling me that there're too many separators.

Can you help me out? Here's the calculation (I know the field names are long and ugly, sorry)

Case (Benchmark 1 Level Acheived Assessment = "Emerging", Total Annual Improvement*100, Benchmark 1 Level Acheived Assessment > 0, Round((Total Annual Improvement / Benchmark 1 Level Acheived Assessment) * 100),""

Thanks,

Paul

quote:

Originally posted by Wildy71:

Can you help me out? Here's the calculation (I know the field names are long and ugly, sorry)

I think you pinpointed your problem.

It's a good idea to have descriptive field names, but use "_" or "." to separate words. I think it is common practice to include prefixes and suffixes to let you tell at a glance the field's function and type.

e.g. zk_Record_ID_cn

I also noticed that you are missing the final ")" on your calculation. Those guys travel only in pairs.

[ November 23, 2001: Message edited by: The Bridge ]

You are mixing numbers and text in the field Benchmark 1 Level Acheived Assessment. If you have this field defined as a Number field using "Emerging" will cause problems. Best to define as a Text field and use the following.

Case (Benchmark 1 Level Acheived Assessment = "Emerging", Total Annual Improvement*100, TextToNumber(Benchmark 1 Level Acheived Assessment) > 0, Round((Total Annual Improvement / TextToNumber(Benchmark 1 Level Acheived Assessment)) * 100),""

Create an account or sign in to comment

Important Information

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

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.