Solved

Crystal report crosstab row titles

Posted on 2014-01-15
3
4,896 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 100

Accepted Solution

by:
mlmcc earned 500 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 100

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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. …
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now