Hi There,
I have setup the following, i'd like to amend this to include a choose function in the WHERE line. Instead of restricting this to one brand, i'd like to user to be able to pick a brand themselves.
How best can I do this?
TRANSFORM Count([Inbound_Call_Log].[CallReason]) AS TotalCalls
SELECT [Inbound_Call_Log].[CallReason]
FROM Inbound_Call_Log
WHERE ([Inbound_Call_Log].[Scheme] = "Ford")
GROUP BY [Inbound_Call_Log].[CallReason]
PIVOT Format([Inbound_Call_Log].[DateOfCall],"mmm") IN ("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
Many Thanks,