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.

Which field type I need?

Featured Replies

I have a calculation field (dif) in this field some results to be in negative an anothers in positive.

How can I count all the positive number and all the negative numbers??

Create a summary calculation field and set to count.

You could do this (although it involves using 2 more fields)

Create one calculation fields.

calc Field 1 =If(Fieldwithnumbers > 0, "1", "")

The sum of this field will be equal to the number of those with values greater than zero

The difference between a record count on the found set and this total will be the negative numbers.

second calc field would be

calc field two = status (currentfoundcount) - sum(calcfield 1)

This would be all records not over 0

Alternatively, you could do a second field the same as the first one

calc field two =IF(fieldwithnumbers < 0, "1","")

a sum of this field will give you the number of records less than zero.

Use the second method if some of your records contain no values at all and you don't want them counted as negative.

Kevin

  • Author

Thanks Kevin for your help,

It's working

God Bless you

The Sign() function does this in one step.

  • Author

I need for separate, if i use a summary with count, this field count all (positive & negative) I need cout all the positive in some field and all the negative in another.

Anyway Thanks for your help.

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.