gex Posted November 13, 2008 Share Posted November 13, 2008 Hi all!Grouping by Vendor column and by Price column is common.How add grouping by device column.Example table below: Code:+-------+--------+-------+|Device | Vendor | Price |+-------+--------+-------+| | nVidia | 30 || Video | Radeon | 20 || | ATI | 10 |+-------+--------+-------+| | ESS | 30 || Audio |Cristal | 20 || |Creative| 10 |+-------+--------+-------+| CPU | Intel | 20 |+-------+--------+-------+| | LG | 30 || | VS | 20 ||Monitor| Sams | 10 || | Sony | 20 || | DD | 30 |+-------+--------+-------+Post Edited by Constantine Ponomarev at 11/15/08 12:24 Link to comment Share on other sites More sharing options...
gex Posted November 15, 2008 Author Share Posted November 15, 2008 Anyone? Link to comment Share on other sites More sharing options...
mikij Posted November 15, 2008 Share Posted November 15, 2008 What do you ask actually ? You just have to select device, vendor, sum (price) and to group by device, vendor. Link to comment Share on other sites More sharing options...
gex Posted November 15, 2008 Author Share Posted November 15, 2008 I know how make that.... Code:+----------------+| Video |+--------+-------+| nVidia | 30 || Radeon | 20 || ATI | 10 |+--------+-------+| Audio |+--------+-------+| ESS | 30 ||Cristal | 20 ||Creative| 10 |+--------+-------+| CPU |+--------+-------+| Intel | 20 |+--------+-------+| Monitor |+--------+-------+| LG | 30 || VS | 20 || Sams | 10 || Sony | 20 || DD | 30 |+--------+-------+ Link to comment Share on other sites More sharing options...
gex Posted November 15, 2008 Author Share Posted November 15, 2008 I need make group header in left columnCode:+----------------+| Video |+--------+-------+| nVidia | 30 || Radeon | 20 || ATI | 10 |+--------+-------+ | V+-------+--------+-------+| | nVidia | 30 || Video | Radeon | 20 || | ATI | 10 |+-------+--------+-------+ Link to comment Share on other sites More sharing options...
jyotic Posted November 17, 2008 Share Posted November 17, 2008 You could also try crosstab with 2 row level group.--Jyoti Link to comment Share on other sites More sharing options...
balap6 Posted November 17, 2008 Share Posted November 17, 2008 You also do that in ordinary jrxml ( without Crosstab) , just disable the print repeated values in text box ( column: device), and add grouping and sorting for device.i hope it will helpful for you.. Thanks,Balaji :) 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