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

Cross Tab Rows

Status
Not open for further replies.

janchan

Programmer
Feb 3, 2005
40
US
I need help in this cross-tab format. i need something like this in my cross-tab: (Just an Example).

Dates Branch1 Branch2
1/1/2005 Work>5 12 15
Work>8 5 2

1/2/2005 Work>5 14 21
Work>8 6 12

1/3/2005 Work>5 23 18
Work>8 5 3

Work and Branch are not hard-coded in the table. Work>x is the count of employess they work more than x hours on a day. is there a way to get a cross-tab like this? Please help.

Thanks.

-- Jan
 
I created a formula @Work>5:

if work_hours > 5 then EMP_ID

and @Work>8

if work_hours > 8 then EMP_ID

and used these formulas as summaries in the cross-tab. i got the results. i want to know if there is a way to display the text for each day as:

"Work>5" and "Work>8" next to the dates. sorry for not explaining this well.
 
Create a formula:

whilereadingrecords;
"Work>5" + chr(13)+"Work>8"

Add this to crosstab as your second row field. Then go to the customize style tab->select your date rowfield->suppress subtotals.

-LB
 
LB,

Thanks a lot. I figured out a way to do this.

Cross-Tab Expert - Style - Show Labels

this showed the field being summarized. i edited the text to suit my needs.
 
You didn't say what version you are using--it must be something higher than 8.5, as this feature is not available in the version I use.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top