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

Recommended Posts

Posted

Hello,

I'm trying to sum a field "lu_lot_qty" but removing duplicate "ITW" numbers. So in the list there are 2 occurrences of ITW 1369 and 1439. I don't want the sum to include duplicates of these. The sum needs to be by "lu_lot_no". For lot 00000000, the correct sum should be 7,215 (not 13,119).

post-102761-0-40546600-1349108749_thumb.

Posted

Yes there is another table where ITW is unique. The qty is not, however.

Posted

In your example, whenever ITW repeats, so does lu_lot_qty. This would suggest that lu_lot_qty too belongs in the other table. I am only guessing here, because it's all Chinese to me. However, I am pretty sure the request is the result of data not being normalized properly.

Posted

You are correct. The tables are linked by ITW. The part_no, lot_no, and lot_qty are lookups from the other table. I am using this table because I need a report by defects so I am using the most specific table possible while copying less specific data from other tables.

Posted

One way to get the correct result would be to divide the looked up (or the related) quantity by the count of the records in the category (ITW, I think). Then, when you summarize the calc, it will even out.

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