[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

pivot / cross tab in Crystal

Posted on 2009-05-13
7
Medium Priority
?
480 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 101

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 101

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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

834 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