Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Dear fmforum,

 

i would like to create a field in my INVOICES table which sums the subtotal values of the whole month.

i would like to see the income for each month.

maybe there is a option to add a drop down menu so i can choose the specific month.

i have a field called month which looks like this: 01/13, 02/13, 03/13 etc. for each month.

i add the corresponding month to each invoice. e.g. for january 2013 i add 01/13 to the field called month.

 

where do i start?

Posted

It sounds like a sub-summary field would do the trick for you. If sort your records by month, a summary field in a sub-summary area will provide a total for only the records in the sort groups. I would experiment with a few layouts using this approach and a button to invoke the desired sort.

 

Knucklehead

Posted
maybe there is a option to add a drop down menu so i can choose the specific month.
 
Do you want to choose the specific month? Or do you prefer each invoice to show the sum of all invoices in the same month?
Posted

i got it.

thanks!!

 

 

It sounds like a sub-summary field would do the trick for you. If sort your records by month, a summary field in a sub-summary area will provide a total for only the records in the sort groups. I would experiment with a few layouts using this approach and a button to invoke the desired sort.

 

Knucklehead


it would be nice if i wouldn't have to leave the invoice layout and could choose the specific month of which i need the total.

 

 

 

 
Do you want to choose the specific month? Or do you prefer each invoice to show the sum of all invoices in the same month?

 

Posted

If you define a global text field gMonth, and a self-join relationship (using another occurrence of the Invoices table) as:

 

Invoices::gMonth = Invoices 2::Month

 

you can then use a calculation field =

Sum  ( Invoices 2::Subtotal ) 

to show the total for the selected month. For convenience, attach a value list (using values from field Invoices::Month) to the gMonth field.

This topic is 4017 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.