• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1256
  • Last Modified:

Cross tab in crystal reports

I have some data which i wanner show in a cross tab table

                                          col1     col2    col 3
row1                                  0          1          5
row2                                   0          5          8
row3                                  0           6          52

when i use the cross tab function, crystal report will suppress the Null values automatically. how to stop that from happening. i want to show the cross tab table in the same format as above. I'm using crystal report XI
  • 2
2 Solutions
If you actually have records with null values, try going to File > "Report Options" and checking the "Convert Database NULL Values to Default" option.

 If by "null values" you actually mean groups, like row2-col1, that have no records at all, I don't think there's anything you can do in the cross-tab.  The only fix that I know of is to add records for those groups to your data, perhaps by creating a query manually that adds some "0" records, so that every group has at least one record, and using that as the report's datasource.

 Another possibility is to not use an actual cross-tab and create one manually instead.  How practical that is will depend a lot on your data.  If the number of columns could vary greatly, it could be quite difficult.

MartinTayAuthor Commented:
tks mate.. i used running totals and fixed it...
Glad you were able to figure it out.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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