Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Cross-Tab Columns Post Reply Post New Topic
Author Message
upndown4par
Newbie
Newbie


Joined: 21 Jul 2010
Online Status: Offline
Posts: 8
Quote upndown4par Replybullet Topic: Cross-Tab Columns
    Posted: 21 Jul 2010 at 8:39am
Hi,

I have data that is being retrieved like "Table A" below and want to put it into a Cross-Tab.  There could be any number of Dates so that's why I'm using the Cross-Tab.  I would like the Cross-Tab to look like Cross-Tab Results (below) but can't seem to figure out how to do it.  I'm guessing that it can be done but none of the books I've looked through are showing what I would like.

Any ideas, help and/or suggestions will be greatly appreciated.

Thanks in advance.

Ron

Table A
Date
Customer
Product Amt
4/23/2010
Acme
A1 $200
4/23/2010
Acme
B2 $100
4/23/2010
Smithco
A1 $200
4/23/2010
Smithco
B2 $200
4/30/2010
Acme
A1 $75
4/30/2010
Acme
B2 $100
4/30/2010
Smithco
A1 $200
4/30/2010
Smithco
B2 $75
5/7/2010
Acme
A1 $150
5/7/2010
Acme
B2 $200
5/7/2010
Smithco
A1 $150
5/7/2010
Smithco
B2 $150
5/14/2010
Acme
A1 $100
5/14/2010
Acme
B2 $200
5/14/2010
Smithco
A1 $300
5/14/2010
Smithco
B2 $100


Cross-Tab Results
Customer Product 5/14/2010 5/7/2010 4/30/2010 4/23/2010
Acme A1 $100 $150 $75 $200
  B2 $200 $200 $100 $100
Smithco A1 $300 $150 $200 $200
  B2 $100 $150 $75 $200

IP IP Logged
Emir_W
Senior Member
Senior Member
Avatar

Joined: 25 Apr 2010
Online Status: Offline
Posts: 228
Quote Emir_W Replybullet Posted: 21 Jul 2010 at 8:44pm
try to help.
 
you can create a crosstab with:
- 2 rows (Customer and Product)
- 1 column (Date)
   click on 'Group Options' to set the Sorting option
- Summarizeds fields (count of Amt)
 
 
and you can modify the layout in 'Customize Style' tab.
 
 
hope it help.
 
Emir W
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.