sunianu Posted December 9, 2008 Share Posted December 9, 2008 Hi,I have a cross tab with 2 row group . I am getting all the details correctly lik Customer A 10Customer A 20 Sub Total Customer A 30Customer B 20 SubTotal Customer B 20Customer C 40Customer C 60 SubTotal Customer B 100My Requirement is I need to hide the subtotal based on the number of items in that group. ie Subtotal need to be displayed if the number of items in that group is greater than 1. In the abouve example subtotal is not requied for customer B because customer B has only one item How can i achive this in IReport Many ThanksSuni Link to comment Share on other sites More sharing options...
mdahlman Posted December 17, 2008 Share Posted December 17, 2008 The Print When expression for that band should let you achieve what you want. Define a variable that counts the rows in the group. Set the Print When Expression to print only when that variable is greater than 1. Regards,Matt Link to comment Share on other sites More sharing options...
sunianu Posted January 12, 2009 Author Share Posted January 12, 2009 Thanks for your reply Let me try Link to comment Share on other sites More sharing options...
sunianu Posted January 12, 2009 Author Share Posted January 12, 2009 Hello,That worked. Thank you very muchI have one more doubt.How can I achieve this in Cross tab ? ThanksLeena 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