Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIVOT Query

Status
Not open for further replies.

Leighton21

Technical User
Dec 17, 2001
83
AU
Hi All,

Is it possible to have two aggregations using the pivot query.

for example if you have the following

Date Product Pice1 Price2
2008 a 1 2
2008 b 3 4
2009 a 3 4
2009 b 5 6

becomes

Date A(price1) B(price1) A(price2) B(price2)
2008 1 3 2 4
2009 3 5 4 6

cheers
 




Date in ROW

Product in COLUMN

Pice1 & Price2 in DATA

FINISH

Then drag the DATA icon in the PT to the right until the selection seems to change. At least it works that way in Excel.


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 



[blush] I thought I was in a differnt forum. Please disregard.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top