I have a sum query where I have 3 fields. DC which contains for example 10 DC location names. Qty field that is sum based and a cost field that is sum based and sorted in ascending order. When I filter the query through the top values for 25 I get the top 25 items by cost field. But I need top 25 by cost for each of the 10 DC field location names.
Can't figure out how to do this. Not sql proficient