Dick in Singapore Posted August 21, 2007 Posted August 21, 2007 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.
Søren Dyhr Posted August 21, 2007 Posted August 21, 2007 Check this: http://www.filemakerpros.com/Percentages.zip --sd
comment Posted August 21, 2007 Posted August 21, 2007 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.
Recommended Posts
This topic is 6365 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now