Concept of Calculated Measures and Aggregate Awareness

Last updated on Sep 22 2022
Sankar Rao

Table of Contents

Concept of Calculated Measures and Aggregate Awareness

You can also create calculated measures in OLAP Universes built on OLAP data sources. Following OLAP data sources only support calculated measures −

  • SAP Business Warehouse (BW)
  • MSAS 2000 and 2005

Syntax for calculated measure is shown below −

<EXPRESSION></EXPRESSION>

In UDT, you can use following functions to be used in calculated measure expression −

  • @Prompt
  • @Select
  • @Variable
  • @Where

To create an OLAP Universe, use the following steps −

In UDT, open an OLAP Universe and insert a new measure object in the Universe.

Next is to pass the object definition as an XML/MDX expression in Where condition.

sap 19 1

Click Parse to review the object definition and fix any errors → OK to save the object definition.

To perform an integrity check, navigate to Tools → Check Integrity. The integrity check validates the XML syntax and any Universe design tool @FUNCTIONS.

 

sap 20 1

SAP Universe Designer – Aggregate Awareness

In UDT, you have an option to run query against the aggregated tables in database. A condition can be set, and that query will run against aggregated tables for query optimization. This method of using aggregated tables is known as aggregate awareness.

To use aggregate awareness in Universe, you can use a function called @Aggregate_Aware in “Select” statement for an object that directs a query to be run against aggregate tables rather than a table containing non aggregated data.

To use aggregate awareness in a Universe, you need to arrange objects by aggregation level and objects are built using @aggregate_awareness function. To build aggregated aware objects, you need to first identify the objects: measure or dimension objects. You need to find out all possible combinations of aggregate objects in all tables and then arrange them in aggregate level order.

For example −

  • AAYEAR.Profit is the highest level of aggregation.
  • AAQTR.Profit is the next level.
  • AAMONTH.Profit is the lowest level of aggregation.

Using @aggregate_aware function directs an object to query all aggregate tables as its parameters. You can see an object using @aggregate_aware function in “Select” statement −

sap 21

The syntax to be used for aggregate_aware function is as follows −

@Aggregate_Aware(sum(agg_table_1), … sum(agg_table_n))

Pass the names of all aggregated tables as arguments. Agg_table_1 is aggregate with highest level of aggregation and agg_table_n is aggregate with lowest level of aggregation.

Defining an Object using @aggregate_aware Function

Open edit properties dialog box for the object → Click “>>” button next to the dialog box.

sap 22 1

In the “Edit Select Statement” dialog box, you need to click at the beginning of the SELECT statement.

Alternately, click anywhere in the select box if the object does not have a SELECT statement.

sap 23 1

You can see @aggregate_aware function under list of functions on right side. As per description of this function: “@Aggregate_Aware(sum(aggregate table1),…,sum(aggregate tableN)) Defines a measure object using precalculated aggregate tables”.

So, this brings us to the end of blog. This Tecklearn ‘Concept of Calculated Measures and Aggregate Awareness’ blog helps you with commonly asked questions if you are looking out for a job in SAP Business Object and SAP Domain. If you wish to learn SAP IDT and UDT and build a career in SAP domain, then check out our interactive, SAP Business Objects Certification Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:

https://www.tecklearn.com/course/sap-business-objects-certification-training/

SAP Business Objects Certification Training

About the Course

Business intelligence tools and features are used by multiple companies and firm for the effective results their large flow of data. The completion of this SAP Business Objects training will be helpful in landing yourself a good paying job. With this Business Objects online training, you will gain considerable proficiency in SAP BO architecture, data warehousing, use of Information design tool, create multiple reports and the implementation of Web intelligence and Efficiency in solving the issues of data sources and Crystal dashboard design.

Why Should you take SAP Business Objects Training?

  • The Average salary of SAP Business Objects Business Intelligence Analyst is $94,000 per annum – PayScale.com
  • Business Objects is an enterprise reporting tool and Scalability is one of the primary reasons large corporations choose Business Objects for their BI needs.
  • Worldwide Business Intelligence and Analytics Market to grow to $22.8 billion in next 2 years – Gartner.

What you will Learn in this Course?

Introduction to Business Objects

  • History and Version of Business Object
  • How Business Objects works in SAP family
  • SAP BO-Business Intelligence package and tool list
  • Data warehousing concept from SAP perspective

SAP Business Object Architecture

  • SAP BO Architecture
  • Various tiers in architecture: Client, Processing, Intelligence

SAP Web Intelligence

  • Web Intelligence Overview
  • Variable in Web Intelligence environment

Using Universe Designer Tools (UDT)

  • Overview of the Universe Designer Tool
  • Working with shared, secured and personal connections
  • Understanding of the Semantic layer

SAP BO Reports

  • SAP BO Reports
  • Chart Reports, Table Reports, Sorting and aggregating of Reports
  • Various elements of Reports, graphs, text elements
  • Reports and Filters
  • Section Report
  • Break Report
  • Alerts Report
  • Scope of Analysis Panel
  • Conditional Reporting
  • Ranked Report
  • Drill Report

Advanced Formatting

  • Advanced methods of formatting in SAP BO
  • Identifying Chasm trap and resolving Chasm traps with various methodologies
  • Detection and resolving of loop

Information Design Tool (IDT) Integration

  • Introduction to SAP BO information design tool
  • Extracting data from various sources using OLAP methodologies
  • Creating of Universe with IDT
  • IDT Vs UDT
  • Working with IDT as an Integration tool

Getting started with Crystal Dashboard

  • Data visualization tool for creating interactive dashboards
  • Point-and-click Features
  • Various dashboard features and interface

Live Office

  • Live office
  • Detailed design of Crystal Dashboard

SAP BO 4.2 Features

Got a question for us? Please mention it in the comments section and we will get back to you.

 

0 responses on "Concept of Calculated Measures and Aggregate Awareness"

Leave a Message

Your email address will not be published. Required fields are marked *