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 to compare percentage increase/decrease across records

Featured Replies

Greetings

I have generated a sub-summary report which looks at each employees sales per month. I want to be able to calculate the percentage increase or decrease in sales from month to month, and from year to year.

This is easily achieved in Excel.

How would one perform this calculation in FM?

I think it needs to get scripted, via an extract of this algorithm:

http://www.onegasoft.com/tools/fastsummaries/index.shtml

--sd

I think it needs to get scripted

Not necessarily - but it turns out to be quite a challenge, not something I would recommend to a beginner.

CompareSubsummaries.fp7.zip

It was something in the same direction I thought about as well, where I perhaps would have stored the previous "quater's" GetSummary( in a variable before going to the next via scripting on the found set.

But your's have an advantage that it's multiuser friendly, where mine in worst case would allow users to overwrite each others calcualtions.

--sd

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.