Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal report crosstab row titles

Posted on 2014-01-15
3
Medium Priority
?
6,455 Views
Last Modified: 2014-01-17
Is there anyway to produce row titles for a crosstab:

__________________________________________________________________
                                                      Jan, 2014 | Feb, 2014 |
__________________________________________________________________
Item A  |  Min of Cost            |         1.15    |   1.20       |
              |  Max of Cost           |         2.75    |   1.85       |
              | # of items sold       |           14     |       25      |
__________________________________________________________________

It's the "Min of Cost", "Max of Cost", "# of items sold" that I need labels for...anyway to do that?
0
Comment
Question by:ddschreck01
  • 2
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 39783815
I found 3 ways to do  it.

The first way that came to mind was to use a  formula for the row label and insert it as a second row in the cross tab.  You then need to
       right click the cross tab
       Click SUMMARIZED FIELD LABELS
       Choose SUMMARIZE VERTICALLY

This method is shown in the Crosstab multiline label report


Another way I discovered in creating that report is one of the options SUMMARIZE FIELDS is to SHOW SUMMARIZED FIELD LABELS.
That option shows the field name of the field being used in the crosstab summary

I created formulas for Min Order, Max Order, Total Order and Order Count which were simply the field to be summarized.  In this case Order Amount and Order ID.
I  inserted them into the cross tab summary and set the summary appropriately.
I set the SHOW SUMMARIZED LABEL option .  See Cross Tab With Formulas report


The cross tab then showed the formula name but it had the @ as the first character.
If you then right click the field in the cross tab  you can edit the text to eliminate the @.

If you double click the text in the label you can also edit it.

One other way is to actually use the fields themselves in the cross tab since you can edit the label.  See the third file Cross Tab Editted Labels

mlmcc
CrossTab-multiLine-Label.rpt
CrossTab-multiLine-With-Formulas.rpt
CrossTab-Editted-Labels.rpt
0
 

Author Closing Comment

by:ddschreck01
ID: 39788748
OMG - this was a life-changing answer!!!!   Right in front of my nose and I never knew it!  Thank you so much!  I now have about 50 crosstabs to do that to.  My boss will be so impressed!
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39788813
I didn't know it either since I don't use cross tab that often but I knew you had control over some of the column labels.

mlmcc
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

916 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