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

Cross tab, count founction etc.

Status
Not open for further replies.

Petbul

MIS
Jun 20, 2001
56
0
0
CZ
Hi,
I have request duration in field (T) and need to count request by this condition (T<12 hours, T<3 hours, T - for all)...
When I use formulas T<12 etc and use it in cross_tab, I always get the count for all - not for this condition...
Any idea?
Many thanks
Petr

Best regards
Petr
 
I think you should try a manual crosstab since your groups seem to overlap, i.e., T < 3 will be included in T < 12, and both are included in T = All. To do this, create a series of formulas like this to use for your columns:

if {table.T} in 0 to 3 then 1 else 0//for T < 3

if {table.T} in 0 to 12 then 1 else 0 //for T < 12

{table.T} //for T = all

Insert any groups you wish, and then insert summaries on the formulas at the group and/or report level and suppress the details.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top