C
CW
I want to analyse our inquiries/orders conversions, by country, for a
selected period.
From my Inquiries table I have taken the fields Ref, InquiryDate, Country,
Status.
I created several queries as follows:
1. Uses those 4 fields with a FromDate - ToDate parameter on InquiryDate,
and a country specified in the criteria row for the Country column.
2. Takes the Ref field from the above, and Groups by Count. This gives me
the total number of inquiries for the period entered, for the specified
country.
3. As per (1) but using "Booked" in the criteria of Status.
4. Takes the Ref field from the above, and Groups by Count. This gives me
the total number of bookings for the period entered, for the specified
country.
5. Then I created one final query taking the Ref count from (2) and the Ref
count from (4) and added an expression column to give me the percentage
conversion ratio, orders to inquiries. Problem: whatever I do, in this last
query the Count value for inquiries (generated in (2)) does not display. Am I
trying to do too many separate calculations?
As an alternative I created a form and used DLookUp to pull the results of
the two Count queries into controls and then made a calculated control to
display the percentage. This works kind of OK, in that all the numbers pull
through. However, it will not use the date parameter which is an essential
part of the underlying queries. It only works if I remove the parameter.
I am sure this is not a difficult bit of analysis to do and there's probably
a far better/simpler way of doing it, so could somebody please give me
suggestions either (i) why the conversions query won't display one of the
Count figures or (ii) how to design a form that applies a date parameter to
the source queries or (iii) some completely different way of doing all
this??!!
Many thanks
CW
selected period.
From my Inquiries table I have taken the fields Ref, InquiryDate, Country,
Status.
I created several queries as follows:
1. Uses those 4 fields with a FromDate - ToDate parameter on InquiryDate,
and a country specified in the criteria row for the Country column.
2. Takes the Ref field from the above, and Groups by Count. This gives me
the total number of inquiries for the period entered, for the specified
country.
3. As per (1) but using "Booked" in the criteria of Status.
4. Takes the Ref field from the above, and Groups by Count. This gives me
the total number of bookings for the period entered, for the specified
country.
5. Then I created one final query taking the Ref count from (2) and the Ref
count from (4) and added an expression column to give me the percentage
conversion ratio, orders to inquiries. Problem: whatever I do, in this last
query the Count value for inquiries (generated in (2)) does not display. Am I
trying to do too many separate calculations?
As an alternative I created a form and used DLookUp to pull the results of
the two Count queries into controls and then made a calculated control to
display the percentage. This works kind of OK, in that all the numbers pull
through. However, it will not use the date parameter which is an essential
part of the underlying queries. It only works if I remove the parameter.
I am sure this is not a difficult bit of analysis to do and there's probably
a far better/simpler way of doing it, so could somebody please give me
suggestions either (i) why the conversions query won't display one of the
Count figures or (ii) how to design a form that applies a date parameter to
the source queries or (iii) some completely different way of doing all
this??!!
Many thanks
CW