nickchang_1 Posted March 6, 2015 Share Posted March 6, 2015 Error filling print... Key is null in pie dataset.How to ignore null ??When I want to count ? Link to comment Share on other sites More sharing options...
nuno-miguel-lourenco Posted March 6, 2015 Share Posted March 6, 2015 You really need to look carefully to what is your dataset resultset and what are you passing in to the pie chart.I've been there and in my case was a reference to a dataset field that was null. Link to comment Share on other sites More sharing options...
nuno-miguel-lourenco Posted March 6, 2015 Share Posted March 6, 2015 In fact I've had several of those... I remember that one of the times was the configuration of the chart dataset run! What is this you ask? If you expand the chart you'll notice the dataset definition below (on the tree). Now go to the Dataset properties window and correctly select the proper "Dataset Run" configuration there! Link to comment Share on other sites More sharing options...
alba.ortega Posted March 9, 2015 Share Posted March 9, 2015 Hi, Usually I solve this problem with a conditional expresion, something like this:IF($F{FieldName}==null,"Text",$F{FieldName})or($P{Parameter}==null || $P{Parameter}.equals(""))?new String(""): ""Attibute":""+$P{Parameter}+"","Kr, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now