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.

The 'IF CALC' or similar

Featured Replies

I have 5 fields per record

= unique code relating to [category]

[category]= Text field with Value List attached (19 options)

[cost]= Number field

[price]= Number field

[margin]= Calc field to display margin (%) between [cost] & [price]

I want to create a CALCULATION field to add the [cost] results together, BUT only according to what [code] was selected.

EG.

if [code]=1 then [category]="labour"

Then i want the CALC field to add the [cost] value from ONLY the record that [category]="labour".

I can't seem to get an 'IF' CALC to work.

Is a 'CHOOSE' or 'CASE' the way to go ?

The total needs to ADD ALL records that have the same Category selection.

Any help appreciated.

Coza....

Simply define self relationship on code and then create a calculation field:

CategoryTotal=Sum(SelfRel::cost)

Dj

It sounds like Sum( code::cost ) is all you need, where 'code' is a self-relationship from the code field to itself. If the category for the record is 'labour', code = 1, for example, then this will give you the sum for all records in the file with the same category/code.

  • Author

I still cant seem to get totals with the above mentioned.

Attached is a example of what i have, Any help Please.

Corey....

  • Author

OOPs can't attach it.

I can email it to any one who can help.

[email protected]

Thnx

Corey....

You have to zip or stuff the file to attach it.

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.