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.

Percent of a summary field

Featured Replies

I have a table of sales orders, and a summary field, Orders_sn for the Total of orders.

I'm producing a report that shows the number of orders for each weekday, for each month, followed by the month's total orders. (Two parts, one sorted by DayofWeek, one sorted by YearMonth.) All that is OK.

What I also want to is show the number of orders for each weekday as a percentage of the total orders for the month. (So as to see the distribution for each day of the week, for each month.)

I cannot figure out how to calculate Orders_sn (summarized by weekday) divided by Orders_sn (summarized by YearMonth), and display it in the part next to the Orders_sn by Weekday.

I would have thought that

GetSummary ( Orders_ sn;DayOfWeek) / GetSummary ( Orders_ sn;YearMonth) would do the trick, but not so.

I hope this makes sense, and would appreciate your advice.

Check this:

http://www.filemakerpros.com/Percentages.zip

--sd

Your calculation should work (provided it's in a sub-summary by DayOfWeek part, and the records are sorted correctly), so the problem is probably elsewhere.

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.