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.

Featured Replies

I have a pricing model where 1 - 6 units cost $ XX, and then further units then cost $ YY.

How can I split the value of the field OrderQty into two fields, BillUnits@XX and BillUnits@YY ?

Obviously I need two calculations,one to return a value of 1 - 6, and the other to show the remaining quantity ordered (if any)....

Help!

Thanks in advance, Ben.

XX = Case( Number_Units; Min( Number_Units; 6 ) )

YY = Number_Units - XX

Leave 'Do not evaluate if all referenced fields are empty' checked.

  • Author

Thanks Lynn, not only have you solved my problem but you've also gotten rid of my calculations mental block (for now).

I never noticed IF(This Condition, This Result, Otherwise Other Result)... d-oh.gif

Thanks again, Ben.

PS. Anyone else trying to use the first calculation use less.gif not < =

You don't necessarily need two calcs.

Total = IF(Number_Units > 6; (6 * XX) + ((Number_Units - 6) * YY); Number_Units * XX)

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.