Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Crystal report crosstab row titles

Posted on 2014-01-15
3
Medium Priority
?
6,173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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