0

Sorting using a Flow Filter Field

I am trying to create an item best seller report in Jet 7.1.2 from NAV 5.00 SQL.
My question is how do I filter the list by the results of the Sales ($) flow field in the item card, where it is filtered for a date range and set of locations. I want to rank the report based on sales for a particular time period (eg. a couple of weeks).
While I can sort on Sales ($) by itself, this is not working because the sales cover a wider time period and set of locations than I want to use for the report.
The result I want to use for sorting the list of items is =NF($C12,"Sales ($)","Date Filter",$C$8,"Location Filter",$C$6).
Any help much appreciated.

6 comments

Please sign in to leave a comment.