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!

Crystal cross tabs

Status
Not open for further replies.

lynnshs

Technical User
Nov 20, 2006
10
CA
I'm trying to combine 2 sets of data in a cross tab, but one set of data should only appear in the last column.

eg: Col1 Col2 Col3 Col4
8 A 9 B 10 C 11 D

but I only want the letter info to appear in the last column.
Any ideas?
Thx.
 
Where are the numbers coming from, a database field?

Is there somelogic besides "last column" we could apply to the number field?

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
yes, from a db field.
Actually, the logic would be suppress if 0, but I can't seem to add a suppression formula to a field in a cross tab.
 
Maybe my question should be is it possible to do a union on 2 cross tabs if the row names are the same?
 
You can do a union query in sql and base your one crosstab report off of that.

What database type are you using?

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"If you have a big enough dictionary, just about everything is a word"
--Dave Barry
 
lynnshs,

We could probably help, but you are supplying insufficient information. What is your CR version? What are your row, column, and summary fields?

Also, what do you mean by last column? Is it the row total?

It is possible to conditionally suppress in crosstabs, but you need to use functions like currentfieldvalue and gridrowcolumnvalue().

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top