Below is the SQL code. It is currently formatted to sum the data by month.
TRANSFORM Sum(Bookings.[Booking Amount]) AS [SumOfBooking Amount]
SELECT Bookings.[National Account], Sum(Bookings.[Booking Amount]) AS [Total Of Booking Amount]
FROM Bookings
GROUP BY Bookings.[National Account]
PIVOT...
I have a dataset that spans multiple years. I want to create a crosstab query that sums the data by Month/Year. When I run the query, the results are based on the actual date resulting in a crosstab query that has thousands of columns. Here is the desired output:
12/05 1/06...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.