longlam
Programmer
- Sep 21, 2006
- 23
Hello All,
I am using Access 2007. I have created a crosstab that does unit sells per week for a specified date range (Over 20 weeks).
The crosstab looks as such (The last column is what I am trying to create):
Week 1 Week 2 Week 3 Week 4 Total Weeks
Item A 1 2 0 3 3
Item B 2 0 0 2 2
Item C 0 0 5 0 1
Is there I way for me to add another column to the query that will count all the non-zero columns and tell me how many weeks that the unit count sold was more than zero?
I am using Access 2007. I have created a crosstab that does unit sells per week for a specified date range (Over 20 weeks).
The crosstab looks as such (The last column is what I am trying to create):
Week 1 Week 2 Week 3 Week 4 Total Weeks
Item A 1 2 0 3 3
Item B 2 0 0 2 2
Item C 0 0 5 0 1
Is there I way for me to add another column to the query that will count all the non-zero columns and tell me how many weeks that the unit count sold was more than zero?