sadakar Posted February 4, 2014 Share Posted February 4, 2014 Hi forum,1) Is there any way or work around to do calculations on top of filled measures ? B'z cross tab fills data at run time...For eg: I have 4 columns after designing crosstab and if I want to add 3rd+4th then want to print the output in 5th column which is not designed ..2) I'd a requirement to group by more than 5 rows in row groups but I can group by only upto 4 rows in row groups.. If I add 5 group it is giving me 4th group field/variable value is not found? What is the limitation on number of rows groups,column groups and on measures ? Link to comment Share on other sites More sharing options...
sjoerd.jump Posted February 5, 2014 Share Posted February 5, 2014 . Link to comment Share on other sites More sharing options...
sjoerd.jump Posted February 5, 2014 Share Posted February 5, 2014 For your calculation question, yes thats possible. Add a Measure to Measures in your Crosstab.Adjust the width of the column you want to add the "totalMeasure" too.Add a textfield and link your new Variable.To set up the variable, add a variable in your report. Do the calculations$V{Var1}+$V{Var2}Only if you set Groovy as language of your report (in the property sheet)Otherwise, depending by the value of your variables, you should use something like:new Double( $V{Var1}.doubleValue() + $V{Var2}.doubleValue() )Where Var are the columns from your database.This should do the trick!Regards, Sjoerdlink to the calculation answer: Link to comment Share on other sites More sharing options...
sadakar Posted February 11, 2014 Author Share Posted February 11, 2014 A small correction in my question .... Modified point-1 is : 1) Is there any way or work around to do calculations on top of filled Column groups ? B'z cross tab fills data at run time... For eg: I have 4 columns after designing crosstab and if I want to add 3rd+4th then want to print the output in 5th column which is not designed .. 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