tong123123 Posted August 11, 2021 Share Posted August 11, 2021 in the figure, the right hand side is the query result, I want to show it in crosstab with sex as row and fyear as column, but the 2018 has no record and sex is NULL.how to hide the null row in crosstab (but need to keep the 2018 fyear column)?how to set the total sex so it can sum up the column value in crosstab? Link to comment Share on other sites More sharing options...
sadakar Posted August 11, 2021 Share Posted August 11, 2021 I have tried with the same data and ended up unresolved and further research indicated that we can't remove empty rows based on row groups dynamically at cross tab level. https://stackoverflow.com/questions/14221656/hide-null-row-groups-jasperreportshttps://community.jaspersoft.com/jasperreports-library/issues/4626I think, the possibility is to modify the result set at SQL level. Link to comment Share on other sites More sharing options...
yama818 Posted September 9, 2021 Share Posted September 9, 2021 >1.how to hide the null row in crosstab (but need to keep the 2018 fyear column)? --> I found this difficult. I would like to know too.>2.how to set the total sex so it can sum up the column value in crosstab? -->Try setting the measure item Caluculation to 'count'.I hope this is useful to you. 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