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.

Calculation field help - filtering out data

Featured Replies

I have a layout to input travel expenses. The layout has a portal where each individual expense is entered.

Expense type | Date | Amt USD $ | Billing Type

Billing type is a drop down – either Reimbursable or Company Paid

I would like to have a total on the main layout of the reimbursable expenses and another for company paid expenses. I have only managed to create a total for both combined with a calculation field - unstored, =Sum ( Receipt_portal::USD )

Is there a way to filter out one of the billing types within the calculation or should I be looking elsewhere for a solution?

Edited by Guest

Is this for display only, or do you need to use the result for something else too?

  • Author

It is only for display.

Define a summary field in the Expenses table as Total of Amount. Place this field on the "main layout" inside a one-line portal to the Expenses table. Filter the portal by:

Expenses::Billing type = "Reimbursable"

Use another portal (with the same summary field) for the other type.

  • Author

Fantastic, thanks again for your help Comment. :smile2:

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.