All of my data is stored by primary key Company and Year and each record is this table also has the fields UK, US, Europe, Asia, Australia (which are numerical). I need a query that will export data to excel with the DSum of each country and each of the past five years. I could do this individual region and year DSums, however this would be 5 countries x 5 years = 25 DSums. Is there a way to tell the query e.g. Display the DSum of the Region fields for the following range of data?
Ideally the query results would be the regions in the first column and the DSums of the corresponding years in the following columns. Does this make sense, if not I can try to clarify more.
Thanks for looking.
Ideally the query results would be the regions in the first column and the DSums of the corresponding years in the following columns. Does this make sense, if not I can try to clarify more.
Thanks for looking.