Jump to content

SORT & SUBTOTAL BY MONTH


This topic is 6672 days old. Please don't post here. Open a new topic instead.

Recommended Posts

You'll need a separate field to hold the month number and another layout with a SubSummary part on it.

1. Calculation: MONTH_NUMBER = Month ( date_stamp_field )

2. Summary field: GENERAL_SUMMARY (Total of amount_field)

3. Layout: MUST incorporate a "Sub summary when sorted by...MONTH_NUMBER)

4. Place the GENERAL_SUMMARY in the SubSummary section

5. Place the amount_field in the BODY section (just to confirm it's all ok)

Then Find and sort your records by MONTH_NUMBER

Link to comment
Share on other sites

I prefer to calculate a DATE that is common to all records of the same month, because:

a) it separates records of August 2005 from those of August 2004, etc.;

: it sorts correctly;

c) can be easily formatted to display in any way you like.

Your suggestion using Month() does (:, but not (a) and ©.

Link to comment
Share on other sites

This topic is 6672 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.