Solved

Crystal Reports - Adding labels to Crosstab report

Posted on 2012-03-27
9
432 Views
Last Modified: 2012-06-21
Hi,

I have a report with a crosstab on it, as attached below;

Basically, the crosstab is giving the area name, and the number of litres and the number of records for the date specified.

It looks like this at the moment:

                             2012/01/01
AreaName             123
                               221

Now, what I want, is to make it look like this:

                                  2012/01/01
AreaName                 Litres                   123
                                  No of Records      221

Any ideas on how I can add those labels in there?
PikOPS-Fuel-capture-Count-by-sum.rpt
0
Comment
Question by:Jasmin01
[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
  • 4
  • 2
9 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 250 total points
ID: 37770840
In the crosstab expert click 'Show Labels' in the Customize Style tab.
0
 

Author Comment

by:Jasmin01
ID: 37770883
Thanks.  But the fields are calculations, so, it's giving me a label of @CountFuelID.  Can I customise this label to something else?
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 37770908
Try this

Right click the label
Click FORMAT FIELD
Click the COMMON TAB
Click the FORMULA button to the right of DISPLAY STRING
Enter the text you want

mlmcc
0
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

 

Author Comment

by:Jasmin01
ID: 37770988
But there is no option called "Display String" on the common tab.  When I right click on the field, the option is FORMAT TEXT, not Format Field.
0
 

Author Comment

by:Jasmin01
ID: 37771295
Ok, I seemed to get it working but right-clicking and selecting "Edit Text". Now, I need this to be exported to Excel, and look legible, but at the moment, it is creating rather large columns on Excel  See attached.  Can you help?
PikOPS-Fuel-capture-Count-by-sum.rpt
PikOPS-Fuel-capture-Count-by-sum.xls
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 37771658
WHat options did you choose when you exported?

Without saved data we really can't try ideas to see if they will work.

mlmcc
0
 

Author Comment

by:Jasmin01
ID: 37775261
I am exporting with :

Column width - Column width based on objects in the WHOLE REPORT
Show Gridlines

I have attached a report with data.
pikops-fuel-capture-count-by-sum.xls
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

751 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