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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crosstab Query with Second Intersecting Value?

Status
Not open for further replies.

nstouffer

Programmer
Jan 11, 2002
52
US
I am trying to create a resulting crosstab or pivotfield
query that will give me a second value at each intersection. I can get the single cross-tab query ok, but having trouble with the second value. The resulting set will be used to graph an opportunity or bubble chart. Example:crosstab query results:

[Complexity]xvalues
......................................................
[Project Name "a"] [NPV Value ]yvalues
.......................................................
[Project Name "a"] [Resources ]bubblesize
.......................................................

So,

Column Hd -> 2 7 8 9 (used as x-values)
Row Heading:
Blue Hats 5 (used as y-values)
Blue Hats 2 (Used as Bubble size)

Red Shirts 7
Red Shirts 3

Yellow socks 9
Yellow socks 1

Orange Pants 6
Orange Pants 3

Has anyone had experience in creating this type of cross-tab
in SQL Statements?

Thanks for your help.
 


I wish you luck.
What i did was create two crosstab then join them with a Select query.

Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top