G
Guest
I'm trying to rank row in a query. I want to get the top 25 for each product
based on dollars.
e.i.
product sales rank
apples 10.00 1
apples 11.00 2
oranges 10.00 1
Bananas 10.00 1
Bananas 11.00 2
etc.
I'm using the following expression:
Rank: (Select Count (*) from T:OpportunitiesReport where [Extended
Cost]>[T:OpportunitiesReport1].[Extended Cost]+1
and can not figure our how to restart the count for each new product in the
query.
Can some on help me?
based on dollars.
e.i.
product sales rank
apples 10.00 1
apples 11.00 2
oranges 10.00 1
Bananas 10.00 1
Bananas 11.00 2
etc.
I'm using the following expression:
Rank: (Select Count (*) from T:OpportunitiesReport where [Extended
Cost]>[T:OpportunitiesReport1].[Extended Cost]+1

and can not figure our how to restart the count for each new product in the
query.
Can some on help me?