INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Column/Row Swap in Crystal

Column/Row Swap in Crystal

(OP)
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

RE: Column/Row Swap in Crystal

You could use a Cross Tab

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

Ian

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close