Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
BIRT 2.6 Data Analysis and Reporting

You're reading from   BIRT 2.6 Data Analysis and Reporting Create, Design, Format, and Deploy Reports with the world's most popular Eclipse-based Business Intelligence and Reporting Tool

Arrow left icon
Product type Paperback
Published in Jul 2010
Publisher Packt
ISBN-13 9781849511667
Length 360 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
John Ward John Ward
Author Profile Icon John Ward
John Ward
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

BIRT 2.6 Data Analysis and Reporting
Credits
About the Author
About the Reviewers
1. Preface
1. Getting Started FREE CHAPTER 2. Installing BIRT 3. The BIRT Environment and First Report 4. Visual Report Items 5. Working with Data 6. Report Parameters 7. Report Projects and Libraries 8. Charts, Hyperlinks, and Drilldowns 9. Scripting and Event Handling 10. Deployment

Groups


Grouping, much like in an RDBMS, is a mechanism used to group data that falls into a similar category. This can be done with a SQL SELECT statement using the GROUP BY clause or, in BIRT, it can be done by adding a group to a Table or List. We are going to add to expand the above report examples by adding groups.

  1. 1. In the Outline view, select tblEmployeePayments.

  2. 2. In the Property Editor, open the Groups tab and click on the Add… button.

  3. 3. Fill in the following information:

    • Name: grpEmployeePayments

    • Group On: dsetXMLEmployee::lastName

  4. 4. Click OK.

    Now, when we preview the report, we can see that it adds an extra header with last names and groups all the like payments together. Of course, this will be better illustrated with the next example, where we modify the Order table to display groupings by order number.

  5. 5. Add a new group to the table with the Orders.

  6. 6. Enter the following information:

    • Name: grpOrderInfo

    • Group On: ORDERNUMBER

  7. 7. Under the Outline view, select Body| Table...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime