?
Solved

Cross tab in crystal reports

Posted on 2010-11-09
3
Medium Priority
?
1,245 Views
Last Modified: 2012-08-13
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
Comment
Question by:MartinTay
[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
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
James0628 earned 2000 total points
ID: 34099737
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
 

Author Comment

by:MartinTay
ID: 34109157
tks mate.. i used running totals and fixed it...
0
 
LVL 35

Assisted Solution

by:James0628
James0628 earned 2000 total points
ID: 34109185
Glad you were able to figure it out.

 James
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

765 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