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.

Differentiating positives and negative

Featured Replies

I have a field for "units sold" and when there is a cancelation I simply put a negative number relative to the amount of the cancelation. What i need to do is have SUM(units sold) calculate only positive units and then another field with SUM(units sold) and add all the negative units... this way i get a total of cancelations and a total of sales seperately...is this posible?

There are a couple ways to do this, here's one...

You're going to need another field for qtyReturned. This will be a calculation field

= If(units sold < 0, abs(units sold), 0)

This says, if the units sold field is less than zero, make this qtyReturned field equal to the absolute value of that field.

Now, in your summaries...

the total units sold will be sum(units sold) - sum(units returned)

and the total units returned will be sum(units returned)

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.