Jredeemer14 Posted October 19, 2011 Posted October 19, 2011 I'm looking to create a calculation in my table that will tell me how many items were sold of a particular sku in the last 30 days. I was thinking of using the count function but I'm not sure how that would work with dates. Any ideas?
Vaughan Posted October 19, 2011 Posted October 19, 2011 There are a couple of ways of doing this. In the first instance I'd look at creating a summary report to generate the information as-needed. You''d create the report by performing a find for the date range, then sorting by SKU then displaying the report layout. Making this into a constant display is both complex and very processor intensive and it will significantly slow down the database when record counts get large.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now