GlennC Posted February 20, 2004 Posted February 20, 2004 Thanks Stephen for such a speedy resonse creating this topic in the forums. I can't for the life of me figure out how to get a count of the number of groups in a subsummary, which is a count of the field that is used as the break field. To make my meaning clear, the example FM uses in the help files is a subsummary report of sales figures summarised by geographical regions A, B, C and D. In this example, as well as the summaries I would need a count of the number of regions the report found (ie 4 in this example). I have created a summary 'count' field for this field, but this gives me the count of every record in the report, not the count of the different regions. I hope this is clear enough. All help greatly appreciated. Thanks, Glenn
jscooper Posted February 20, 2004 Posted February 20, 2004 Easiest way I've found to get a distinct count is to make a value list based on the field you're counting. Then make a calculation like this: distinctcount = patterncount(valuelistitems(status(currentfilename),"myvaluelist"),"
GlennC Posted February 20, 2004 Author Posted February 20, 2004 Thanks very much Jeff, I'll have a go at it.
Recommended Posts
This topic is 7592 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