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.

Tax Calculation

Featured Replies

"Amount" has tax applicable defined by Value List ("Yes"/"No"). I am trying to sort by "Tax Applicable" (taxable and non-taxable). Data is in another table so i have included a "Sum" part to the calculation. Tax Applicable with Subtotal, tax, and Total; Not Tax Applicable; and then a Grand Total for everything.

I have tried this type of calculation:

If ( Tax Applicable="Yes" ; Sum ( Amount );0 )

and in another field:

If ( Tax Applicable="No" ; Sum ( Amount );0 )

It doesn't work.

Any ideas? Thanks.

I don't understand your question - esp. the part about data being in another table. Why can't you sort by the 'Tax Applicable' field directly? If - as it seems - you also want to show a separate sub-summary value for each group, you should use a summary field defined as Total of Amount, and place it in a sub-summary part (when sorted by Tax Applicable), as well as in the Grand Summary part.

If you're trying to calculate sums of related data, you may want to calculate or auto-enter the amount into separate fields in the related table. E.g.:

If ( Tax Applicable="Yes" ; ( Amount ) )

So in the parent table, your calcs would look like:

Sum( TaxableAmount )

and in another field

Sum( NontaxableAmount )

  • Author

Fitch, you are an incredible imaginary friend. Your solution works fabulously! Thanks so much.

I suppose this is kinda what you were getting at Comment. My next step is to make it all work in a report setup with all of that summary stuff.

 

Thanks again. You made my day! :)

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.