SELECT [tblData].[Store], [tblData].Category, [tblData].[Item], [tblData].[Velocity], [Data].[sales]
FROM [tblData]
ORDER BY [tblData].[Store], [tblData].Category DESC , [tblData].[52 Week Velocity] DESC;
From this, I want to return the top 5 items per store, per category based on velocity.
I know I need a subquery, but after a couple of unsuccessful attempts am posting in hopes someone can assist.
Thank you!
FROM [tblData]
ORDER BY [tblData].[Store], [tblData].Category DESC , [tblData].[52 Week Velocity] DESC;
From this, I want to return the top 5 items per store, per category based on velocity.
I know I need a subquery, but after a couple of unsuccessful attempts am posting in hopes someone can assist.
Thank you!