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 5161 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have created a summary field which collects the number of records (sales) attached to a particular product. e.g. Shirts, blue, size L - summary field adds up all the quantities of each shirt. I want create a report which lists the products by the largest no. of quantity. I can produce a report, using a self-join relationship, which automatically fills in a field with the quantities I need so I can see for each product sorted by product name or attribute the quantities for each. But, how do I produce a report sorted by the quantity in the summary field? If I try and do this the summary field is always greyed out?

And.. I would like to have a field which shows which number each of these is listed at e.g. no. #1 (most sales), #99, # 10023 etc - a bit like Amazon's listing of books

Many thx.

Posted

a summary field which collects the number of records attached to a particular product

I am not sure I follow this fully. Is there a table of products and another table of styles or quantities?

Posted

I think what you mean is that you have a summary field that set to the count of 'product'.

I don't know why this summary field is grayed out when you do a sort. What if you do the following:

1. Create a calculated field 'productCount' in the original table which is equal to the summary field in the related (self join) table.

2. Add a sub-summary part onto your layout which displays values when sorted by product.

3. Sort your list by: 1) 'table2::calcF' and 2) 'product'.

Posted

Seems to work - thank you.

What about my question:

And.. I would like to have a field which shows which number each of these is listed at e.g. no. #1 (most sales), #99, # 10023 etc - a bit like Amazon's listing of books. So I have a product which has 28 sales and should be no. 165 in my list. Another product which has sales of 256 which is no. 65 in my list etc.

Posted

I think what you are looking for is a ranking according to product sales. Filemaker has no rank function. Nightwing previously described a method for doing this with relationships. Check out his entry entitled Field Ranking and Sorting. The demo file called 'AutoRanking' does the best job at handling ties.

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