Solved

pivot / cross tab in Crystal

Posted on 2009-05-13
7
474 Views
Last Modified: 2012-05-06
Hi I have an issue Im not sure is possible to resolve..

Im trying to cross tab a field that crystal wont let me cross tab because its a memo or text field.. it doesnt even give me the option to do it..

So Im wondering if there is a work around  out there...

Heres how my data looks (date and observation values)

   7/31/2007
hgb        23
car       155
tar       44.5
comment - this was a weird day

   6/3/2008
hgb        24
car       156
tar       44.6
comment - this was a weirder day

   8/31/2009
hgb        25
car       157
tar       44.7
comment - this was a crazier day

they want it like this

   7/31/2007                                          6/3/2008                     8/31/2009
hgb        23                                             data  blah                    data blah blah blah
car       155
tar       44.5
comment - this was a weird day

Again crystal wont pivot because its a memo field (the observations) but I was thinking of doing sub reports stacked horizontally across  for each date.. I just dont know how to bucket the dates ascending across the page

is this possible? I would/could limit it to the latest 5 records??

open to suggestions.. will clarify if needed as well of course.
thanks!



0
Comment
Question by:shockacon
  • 4
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 24379815
You coud group on the date field thus using the group header for the date information and put the subreports in the group footer linked on date.

mlmcc
0
 

Author Comment

by:shockacon
ID: 24379967
ok i think I understand where your going with this.. could you expand please?

Im already grouping by date... just put the sub reports in the footer?
will this break it out by each date associated with each record set?
do I do one sub report for each possible date set? it could be one or up to ten...
also do I link each sub together or to the main report(which btw is a subreport in itself)?

sorry for 50 questions here.. and thanks! :)
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 24380521
Link the subreport to the main report on the date field
Right click the subreport
Click CHANGE SUBREPORT LINKS
Choose the date field from the upper left box
Choose the datefield from the lower left box
Make sure the SELECT REORDS IN SUBREPORT option is checked

Crystal does not support second level subreports

mlmcc
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 

Author Comment

by:shockacon
ID: 24380622
I already HAVE the data in the report.. its not a question bringing the data in.. its displaying it in a pivot format...

any ideas?
0
 

Author Comment

by:shockacon
ID: 24380624
by date. like in the example above.
0
 
LVL 35

Expert Comment

by:James0628
ID: 24391888
If the problem is simply that you can't use a memo field in your cross-tab, try simply putting the memo field in a formula and see if you can use the formula in your cross-tab.  I've found that when CR would not let me do something with a memo field, like group on it, all I had to do was put the field in a formula and I could use the formula instead.  I don't know if I've done that specifically with a cross-tab, but it works for other things, like grouping.

 James
0
 

Accepted Solution

by:
shockacon earned 0 total points
ID: 24403791
I actually figured this one out.. I used the crosstab and put the value in a selected "mode".. it defaults to count but all you do is change it. works great! thanks to all tho.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question