Top 5 by a GROUPing?

J

Jay

I have a query which GROUPs by two fields called Sector and Model, along
with a calculated field which calculates an amount of depreciation (based on
two other fields 'New Price' and 'Sold Price').

However, what I'd like to do is just show the Top 5 models (as per the
highest numbers in the calculated field). But I want to show the Top 5 for
each Sector.

Just selecting Top 5 will give me just the overall Top 5 results, but
considering I have 6 sectors I would like the Top 5 for each, effectively
returning 30 records.

Can anyone advise how I can return Top 5 by a grouping?

Many thanks....Regards, Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Top 5 by group 0
Selecting top 5 2
Top 5 grouping of material based on usage 3
Top 5 list if data meets a criteria 3
Select Top 5 8
Top 5 3
Multiple Top Values 2
Grouping Top Values 1

Top