Can anybody help?
I am trying to select a group of records by date and count the result. See example table below.
DATE FRUIT
10/01/2004 apple
14/02/2004 pear
24/02/2004 pear
01/01/2005 orange
09/03/2005 apple
20/06/2006 pear
I have created a Parameter (dateselect) to select the date range.
The formula I am using to select the records (recordselect) is:
If Date({DATE}) in {dateselect} then { FRUIT}
The formula I am using to count the records is:
Count ({@recordselect})
The problem is that whatever date range I select the count always returns a count of all the records.
I am trying to select a group of records by date and count the result. See example table below.
DATE FRUIT
10/01/2004 apple
14/02/2004 pear
24/02/2004 pear
01/01/2005 orange
09/03/2005 apple
20/06/2006 pear
I have created a Parameter (dateselect) to select the date range.
The formula I am using to select the records (recordselect) is:
If Date({DATE}) in {dateselect} then { FRUIT}
The formula I am using to count the records is:
Count ({@recordselect})
The problem is that whatever date range I select the count always returns a count of all the records.