Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6637
  • Last Modified:

Crystal report crosstab row titles

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
ddschreck01
Asked:
ddschreck01
  • 2
1 Solution
 
mlmccCommented:
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
 
ddschreck01Author Commented:
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
 
mlmccCommented:
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

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now