bdarch Posted January 13, 2005 Posted January 13, 2005 Hi all. And happy new year. I can't figure out how to properly get a calculated percentage in a subsummary part. Let's say I have records consisting of People, with data consisting of QuantA and QuantB and a QuantTotal for each record. I can run a subsummary showing the assigned subtotals for each record easily by placing a summary field defined to look at each QuantA, QuantB, and QuantTotal. Easy! What I can't do is show in the same subsummary, a proper ratio (expressed as a percentage) of QuantA to QuantB for the records summarized under that Person. What I'd like to see in the subsummary would be: PersonA QuantA QuantB ABRatio QuantTotal PersonB QuantA QuantB ABRatio QuantTotal PersonC QuantA QuantB ABRatio QuantTotal TOTAL QuantA QuantB ABRatio QuantTotal For example: The ABRatio (a summary field dividing the summary fields for QuantA by QuantB) is correct in the Grand Summary, but repeats the Grand Summary result in the subsummary above. So I'm stumped. Any pointers appreciated!
-Queue- Posted January 13, 2005 Posted January 13, 2005 Use a calculation field that includes the GetSummary( summaryfield, breakfield ) function.
bdarch Posted January 13, 2005 Author Posted January 13, 2005 Thanks Queue... never understood those fields. Seems the time is nigh.
Recommended Posts
This topic is 7255 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