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

crosstab difference of Avg

Status
Not open for further replies.

pko123

Programmer
Apr 17, 2007
27
US
Hi,
I have a report where i need to show crosstab report,
summary average of sales for each quarter for each state, but along with that i also want to include another column or another crosstab that shows the difference of average of last 2 quarters. is this possible or i have to do manual crosstab.

e.g
Code:
      avg(Qtr1)  avg(Qtr2) Difference
NY    200         100        -100
CT    300          50        -250
IL    400         600         200

please suggest
 
moreover, i need a average for distinctcount of sites in States. Is this is possible with cross tab...I am using BOXI R2 version of crystal
 
I guess i would do a manual cross tab, just for the sake of simplicity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top