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
SAP BusinessObjects Reporting Cookbook

You're reading from   SAP BusinessObjects Reporting Cookbook Over 80 recipes to help you build, customize, and distribute reports using SAP BusinessObjects

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher
ISBN-13 9781782172437
Length 380 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Yoav Yohav Yoav Yohav
Author Profile Icon Yoav Yohav
Yoav Yohav
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Working with the BI Launch Pad FREE CHAPTER 2. Creating New Queries 3. Working Inside the Report 4. Working with Tables 5. Working with Charts 6. Formatting Reports 7. Filtering the Report Data 8. Merging Data 9. Using Formulas and Variables 10. Using Hyperlinks 11. Using Drill 12. Scheduling Reports 13. Working with BI Workspaces 14. Web Intelligence Rich Client Index

Using aggregate functions


Aggregate functions are used whenever we want to perform calculations on measure objects. This isn't always the case as we can also perform a count calculation on a dimension or an attribute object.

We distinguish between two main uses of aggregative functions as follows:

  • A summarized aggregative function returns the result in the footer or in a single cell, such as Sum or a Max calculation

  • A row-level calculation shows the aggregative result, such as the percentage

The main aggregative functions are as follows:

  • Sum

  • Average

  • Min/Max

  • Percentage

  • Count

How to do it...

The count function counts each unique value once, so if we have 10K rows that contain only seven different values, the result of count will be 7.

If we need to count the number of rows in a table, regardless of whether a value exists in a specific row or not, we use the count all syntax.

As we know, every formula starts with the equals to sign, so we basically use the count syntax and add the all option...

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 €18.99/month. Cancel anytime