I'm trying to create a crosstab in my ad hoc editor. The values in the crosstab that are NULL show up as a blank space. Is there any way that I can change this to show '0' instead?
I've attached a picture
3 Answers:
Hi there -
I am not sure if you can set that from the Ad Hoc editor. However, you could save the View as a report, and then open the file in iReport or Studio and make some changes, but that requires knowing how to use one of those two platforms. You can open reports from the server using iReport or Studio (via the repository plug-in).
Regards, Hugo
One caution here is that, this setting this option will change "Null" values as "0" for reports created using Adhoc views. For reports created using Jasper studio, the null values will appear as null. In order to handle nulls, we should put a condition as follows:
<field Name>== null ? 0: <fieldname>
HTH
Gowtham
Is that feature in the newest release, 5.5? I don't see it in 5.0.
Yes, I believe it was introduced in version 5.2.