CoffeeGuru
Registered User.
- Local time
- Today, 09:37
- Joined
- Jun 20, 2013
- Messages
- 121
I am trying to find the sum of items sold in the last two weeks
something along the lines if this:
If week number is greater than the maximum weeknumber then sum the Volumns of the last two weeks.
Ive tried this:
only that does not work.
Any ideas.
something along the lines if this:
If week number is greater than the maximum weeknumber then sum the Volumns of the last two weeks.
Ive tried this:
Code:
IIF([CM-DATA].[WeekNo] >= Max[CM_DATA].[WeekNo]-2,SUM([CM_DATA].[Volume]))
only that does not work.
Any ideas.