OBIEE - 10G/11G - OBIPS - Aggregation Rule

Bi Server Architecture With Client

About

Aggregation rule.

The aggregation rules apply to all aggregate function used in SQL statements :

Where

Answer

The 'aggregation rule' setting in Answer is applied to sub-totals and grand totals within the Answers report.

You can set it:

  • by column. The default of a column is the system setting.
  • or by view. The default of a view is the column setting.
Default for each column In the pivot view
Obiee 10g Aggregation Rule Obiee Pivot View Aggregation Rule
Aggregation Rule Availability Performed Within Description
Default Not available for calculated items. Applies the default aggregation rule as in the Oracle BI repository or by the original author of the analysis.
Server Determined Not available for measure columns in the Layout pane or for calculated item. Presentation Services for simple rules such as Sum, Min, and Max. Applies the aggregation rule that is determined by the Oracle BI Server (such as the rule that is defined in the Oracle BI repository). The aggregation is performed within Presentation Services for simple rules such as Sum, Min, and Max.
Sum Everywhere Presentation Services Calculates the sum obtained by adding up all values in the result set. Use this for items that have numeric values.
Min Everywhere Presentation Services Calculates the minimum value (lowest numeric value) of the rows in the result set.
Max Everywhere Presentation Services Calculates the maximum value (highest numeric value) of the rows in the result set.
Average Everywhere Presentation Services Calculates the average (mean) value of an item in the result set. Averages on tables and pivot tables are rounded to the nearest whole number.
First Not in Column Formula ? In the result set, selects the first occurrence of the item for measures. For calculated items, selects the first member according to the display in the Selected list. Not available in the Edit Column Formula dialog.
Last Not in Column Formula ? In the result set, selects the last occurrence of the item. For calculated items, selects the last member according to the display in the Selected list.
Count Everywhere Presentation Services Calculates the number of rows in the result set that have a nonnull value for the item. The item is typically a column name, in which case the number of rows with nonnull values for that column are returned.
Count Distinct Everywhere ? Adds distinct processing to the Count function, which means that each distinct occurrence of the item is counted only once.
None Not for calculated items NA Applies no aggregation.
Server Complex Aggregate Not for calculated items BI Server Applies the aggregation rule that is determined by the Oracle BI Server (such as the rule that is defined in the Oracle BI repository). The aggregation rule is determined and calculated by the server. It changes the report_sum function by the aggregate by function in the logical SQL.
Aggregation Rule Option Availability Performed Within Description
Report-Based Total (when applicable) Not in the Column Formula or for calculated items. NA If not selected, specifies that the Oracle BI Server should calculate the total based on the entire result set, before applying any filters to the measures.

Repository

Measure Aggregation rules

Documentation / Reference





Discover More
Obiee Aggregate Sum Sum Formula
OBIEE - Aggregation rules in Logical SQL with the GROUP BY and BY clause

This section outlines the rules that the BI Server follows with respect to whether or not a logical query contains a GROUP BY clause and, if a GROUP BY clause is specified, what results you should expect...
Privilege Evaluate Predicate
OBIEE - Evaluate - Embedded DB Functions

This Evaluate functions (since version 10.1.3.3) enables users and administrators to create more powerful reports by directly calling Database functions from: either Oracle BI Answers or by using...
Obiee Pivot Ora 00937
OBIEE - ORA-00937 - Not a single-group group function

You may receive this error and below are some causes. On one percentage measure was the aggregation rule of answer set to default. By setting it on Average the problem was resolved. To get...
Obiee Data Is Dense
OBIEE - Repository Aggregation rules based on dimension (dimension-specific aggregate)

Obiee offer the possibility to have differents measure aggregation rule based on the dimension. This functionality is really tied to the last and first function (in order to define its grain ?) ...
Obiee 11g Pivot Display As Running Sum
OBIEE - Running Sum (RSum)

Running Sum is a display function. This function calculates a running sum based on records encountered so far. The “By” statement resets its values for each group. Logical SQL: Result: ...
Obiee Measure Column
OBIEE 10G/11G - Measures (Columns|Attributes)

A measure column is a logical column with an aggregate function. Any column with an aggregation rule is a measure. Examples include Revenue or Units Sold. Measures need to be defined in a logical fact....



Share this page:
Follow us:
Task Runner