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

Recommended Posts

  • Newbies
Posted

Newbie here, I'll try and explain my problem best I can. I have a table with my products:

Product

- _kp_product_id

- style

- color

- size

- price

- sale_date

I want to genereate a report that shows sales with a row for each distinct product style, color, and size with a qty rather than having a row for each sale. I have been trying a self-join relationship but am still unable to "group" the rows properly. Is there a way to generate this type of table relationship?

Posted

Instead of a self-join, why don't you simply sort the records by product style, color, and size, then show them in a layout with a sub-summary part for each breakfield and no body part? Use a summary field to count the records.

  • 2 weeks later...
  • Newbies
Posted

I don't believe that will accomplish what I'm after. My records are as follows:


ID Style   Color  Price Size

1  Regular Green  12    Big

2  Regular Green  12    Big

3  Regular Yellow 12    Small

4  Regular Yellow 12    Small

5  Regular Yellow 12    Small

6  Regular Yellow 12    Big

7  Premium Red    14    Big

8  Premium Red    14    Big

9  Premium Yellow 14    Big





I want them to appear in a report (or portal) as:





Style   Color  Price Size  Qty

Regular Green  12    Big   2

Regular Yellow 12    Small 3

Regular Yellow 12    Big   1

Regular Red    14    Big   2

Regular Yellow 14    Big   1

Does that clarify my problem? I was under the impression the best way to achieve this is by a self-joining relationship.

Posted

Perhaps you could use your sales records instead of your product list? Sub-Summary layouts sure looks like the way to go to me. They'll give you both the number of items sold and the total dollars.

Posted

I agree with the previous posts; base the report on sales table and use a sub-summary report.

You may need a calculated field that concatenates style , color and qty fields so you can sort by and create a sub-summary part for.

Posted

I don't believe that will accomplish what I'm after.

It's not a matter of belief:

Report.fp7.zip

I was under the impression the best way to achieve this is by a self-joining relationship.

Summary reports have the advantage of reporting only the found set.

You may need a calculated field that concatenates style , color and qty fields so you can sort by and create a sub-summary part for.

Not really.

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