C
carl
I posted a similar question a few days ago but thought I would re-post with a
"better" example.
My Data looks like this:
TradeDate Trader Sales Product
16-Mar Bob 50 ABC
16-Mar Joe 50 ABC
16-Mar Bob 25 DEF
16-Mar Joe 75 DEF
16-Mar Bob 50 GHI
16-Mar Joe 25 GHI
16-Mar Jim 25 GHI
17-Mar Bob 100 DEF
I need a qry that will show me the % of total sales each trader had for each
product for each day. The table I am trying to produce would like something
like this:
TradeDate Product Bob Joe Jim
16-Mar ABC 50% 50% 0%
16-Mar DEF 25% 75% 0%
16-Mar GHI 50% 25% 25%
17-Mar ABC 100% 0% 0%
17-Mar DEF 0% 100% 0%
If this is possible, I would appreciate some examples of qry's that I could
use.
Thank you in advance.
"better" example.
My Data looks like this:
TradeDate Trader Sales Product
16-Mar Bob 50 ABC
16-Mar Joe 50 ABC
16-Mar Bob 25 DEF
16-Mar Joe 75 DEF
16-Mar Bob 50 GHI
16-Mar Joe 25 GHI
16-Mar Jim 25 GHI
17-Mar Bob 100 DEF
I need a qry that will show me the % of total sales each trader had for each
product for each day. The table I am trying to produce would like something
like this:
TradeDate Product Bob Joe Jim
16-Mar ABC 50% 50% 0%
16-Mar DEF 25% 75% 0%
16-Mar GHI 50% 25% 25%
17-Mar ABC 100% 0% 0%
17-Mar DEF 0% 100% 0%
If this is possible, I would appreciate some examples of qry's that I could
use.
Thank you in advance.