C
ctfrigg
Hi!
I need to create a calculation based on a grouping of categories (I think).
I have transactional data that lists a category, dollar amount, & month. I
need to find a total count for each transaction in each category and then
find the % of certain categories over the total.
I have numerous categories similar to below.
(I call these "regular" categories)
Air - Domestic Ticket Issued
Air - International Ticket Issued
Axcess After Hours Service-New
these are part of the categories but these are the ones I need to find the %
of total (I call these "Exchange" categories)
Air - Domestic Ticket Exchange
Air - International Ticket Exchange
Interactive Transaction Exchange LT
Interactive Transaction Exchange MI
VIP Service - Domestic Exchanges
VIP Service - International Exchanges
If I were to look at this in an excel pivottable, I created a group for the
"regular" categories, created a group for the "exchanges", got a total for
each group, a total for all and divided the #Exchanges/Total#.
In the end, I am looking for the query to produce the following based on the
above.
Jan Feb Mar Apr May etc
34% 39% 32% 36% 32%
What is the best way to do this?
I don't have much experience creating complex queries. I greatly appreciate
any suggestions you can give me. Thank you!
I need to create a calculation based on a grouping of categories (I think).
I have transactional data that lists a category, dollar amount, & month. I
need to find a total count for each transaction in each category and then
find the % of certain categories over the total.
I have numerous categories similar to below.
(I call these "regular" categories)
Air - Domestic Ticket Issued
Air - International Ticket Issued
Axcess After Hours Service-New
these are part of the categories but these are the ones I need to find the %
of total (I call these "Exchange" categories)
Air - Domestic Ticket Exchange
Air - International Ticket Exchange
Interactive Transaction Exchange LT
Interactive Transaction Exchange MI
VIP Service - Domestic Exchanges
VIP Service - International Exchanges
If I were to look at this in an excel pivottable, I created a group for the
"regular" categories, created a group for the "exchanges", got a total for
each group, a total for all and divided the #Exchanges/Total#.
In the end, I am looking for the query to produce the following based on the
above.
Jan Feb Mar Apr May etc
34% 39% 32% 36% 32%
What is the best way to do this?
I don't have much experience creating complex queries. I greatly appreciate
any suggestions you can give me. Thank you!