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

Aggregations


Aggregations are a way to take data as a whole and apply calculations to them, such as counts or sums of data columns. New to BIRT 2.3+ is the aggregation visual component. In newer versions of BIRT, the developers have broken away from the older, scripting based aggregations. With improvements made in the 2.5 series, it is now possible to do some very powerful and interesting things such as using aggregations in groupings for charts, which wasn't possible in BIRT before. Let's take a look at how to build a simple count aggregation for the employees in our offices.

  1. 1. Create a new report titled employeeGroupCount.rptDesign.

  2. 2. Create a new Data Source off the Classic Models sample database.

  3. 3. Create a new dataset called dsEmployeeOffices using the following query:

    select
    EMPLOYEES.EMPLOYEENUMBER,
    OFFICES.OFFICECODE,
    OFFICES.CITY,
    OFFICES.STATE
    from
    EMPLOYEES,
    OFFICES
    where
    OFFICES.OFFICECODE = EMPLOYEES.OFFICECODE
    
  4. 4. Right-click on dsEmployeeOffices and select Insert in Layout...

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