[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Cross tab in crystal reports

Posted on 2010-11-09
3
Medium Priority
?
1,249 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

656 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