• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1254
  • 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
0
MartinTay
Asked:
MartinTay
  • 2
2 Solutions
 
James0628Commented:
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.

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

 James
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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