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!

Column/Row Swap in Crystal

Status
Not open for further replies.

earljgray

IS-IT--Management
May 22, 2002
49
US
Working in Crystal 2008.
I have a 12 row output in SQL server - one record for each month of the current year.
There are several columns containing information that I need for each month to display MTD info per object:

JAN FEB MAR.....
Item 1 MTD MTD MTD
Item 2 MTD MTD MTD
Item 3 MTD MTD MTD

The data is coming in rows:
Item 1 MTD ITEM 2 MTD Item 3 MTD 01/31/2016
Item 1 MTD ITEM 2 MTD Item 3 MTD 02/29/2016
Item 1 MTD ITEM 2 MTD Item 3 MTD 03/31/2016

The Format in Section Expert doesn't cover this - the month count goes off and the sql server view does not allow for 'ordering' the year column.

Any suggestions?





Crystal Reports Design/training/Consultation
earljgray@gmail.com
 
You could use a Cross Tab

Year and month as your column
Item as your row and MTD as your detail

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top