Hello,
I have a report which displays order information. I have several groups/sections suppressed to allow the user to see the data summarized by:
- Year (total order value and count of orders by month for the year)
- Order number (total order value and order status for each order)
- detail section is the detailed order information at line item level
The problem is that I would like to have a conditional count of orders for each month at year level (example: for the yearh 2001, there were 4 orders in October, 2 orders in November, etc)
I have tried to use the following formula to do this:
if {@OrderMonth} = 10
then 1
else 0
The problem is that this will count the number of line items instead of just the number of orders. I have tried many different things including adding the following conditions in my formula:
- if recordnumber = 1
- if lineitemnumber = max(lineitemnumber, ordernumber)
- on first record
None of these works. I think part of the issue is that the suppressed sections are not evaluated until drill-down. Does anyone have any ideas?
Thanks,
Madlene
I have a report which displays order information. I have several groups/sections suppressed to allow the user to see the data summarized by:
- Year (total order value and count of orders by month for the year)
- Order number (total order value and order status for each order)
- detail section is the detailed order information at line item level
The problem is that I would like to have a conditional count of orders for each month at year level (example: for the yearh 2001, there were 4 orders in October, 2 orders in November, etc)
I have tried to use the following formula to do this:
if {@OrderMonth} = 10
then 1
else 0
The problem is that this will count the number of line items instead of just the number of orders. I have tried many different things including adding the following conditions in my formula:
- if recordnumber = 1
- if lineitemnumber = max(lineitemnumber, ordernumber)
- on first record
None of these works. I think part of the issue is that the suppressed sections are not evaluated until drill-down. Does anyone have any ideas?
Thanks,
Madlene