Docsity

OBI Training: Pivot Tables and Hierarchies in Enterprise Data Management, Lecture notes of Accounting

Toggle sidebar
bg1
Enterprise Data Management
OBI Training, April 2013
Pivot Tables: Slicing and Dicing your Data
One of the nice features of OBIEE is being able to view your data from various angles. Pivot
tables make it easy to process and summarize large data sets in seconds.
Pivot tables are a data summarization tool, enabling you to “pivot” or rotate data, looking at it
from different perspectives and seeing a variety of patterns which may not be immediately
obvious. You can then can automatically sort, count, total or give the average of the data.
In OBIEE, there are advantages of pivots over using standard tables, such as the ability to add
custom grouping levels or aggregation. You can also automatically create charts based on
Pivots. Pivot tables work with OBIEE’s hierarchical columns to enhance the view.
Presented by:
Ronda Stemach
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download OBI Training: Pivot Tables and Hierarchies in Enterprise Data Management and more Lecture notes Accounting in PDF only on Docsity!

OBI Training, April 2013

Pivot Tables: Slicing and Dicing your Data

One of the nice features of OBIEE is being able to view your data from various angles. Pivot

tables make it easy to process and summarize large data sets in seconds.

Pivot tables are a data summarization tool, enabling you to “pivot” or rotate data, looking at it

from different perspectives and seeing a variety of patterns which may not be immediately

obvious. You can then can automatically sort, count, total or give the average of the data.

In OBIEE, there are advantages of pivots over using standard tables, such as the ability to add

custom grouping levels or aggregation. You can also automatically create charts based on

Pivots. Pivot tables work with OBIEE’s hierarchical columns to enhance the view.

Presented by: Ronda Stemach

OBI Training, April 2013

Pivot Tables and Hierarchies

A hierarchy is a cascaded series of many-to-one relationships and consists of different levels.

Hierarchies are created in the Repository, where other business rules and logic are created and applied. You can see them in OBI byway of their unique icon.

In the Finance – General Ledger Subject Area, we currently have Hierarchies for Accounting Period, Accounting Date, Account and Fund.

There are different types of hierarchies you can create. The most common type is the Level-Based Hierarchy, which is what we have in use here at HSU.

1. Level Based Hierarchy

This is a basic type of hierarchy which has a fixed number of levels. A Time Dimension hierarchy is a good example for this one.

There are two special cases of level based hierarchies:

¡ Ragged Hierarchy (or unbalanced hierarchy)

A Ragged Hierarchy is when members of certain levels don’t have child members. Another way to say that is it’s a hierarchy in which all the lowest-level members do not have the same depth.

Notice in this example how two members at the ‘sub channel’ level do not have child members at the ‘delivery mode’ level.

OBI Training, April 2013

2. Value Based Hierarchy:

This type of hierarchy is not used very often. It is also called as parent child hierarchy. The most common real-life occurrence of a parent-child hierarchy is an organizational reporting hierarchy chart, where the following all apply:

  • Each individual in the organization is an employee.
  • Each employee, apart from the top-level managers, reports to a single manager.
  • The reporting hierarchy has many levels.

In this type of Hierarchy, all members have the same type – in this case, they are all employees. They come from the same table, so values are used to define the level. There are no named levels. This contrasts with level-based hierarchies, where members of the same type occur only at a single level of the hierarchy.

An Employee hierarchy might have no levels, but instead have names of employees who are managed by other employees. Employees can have titles, such as Vice President. They might report to other Vice Presidents and different Vice Presidents can be at different depths in the hierarchy.

These conditions illustrate the basic features that define a parent-child hierarchy, namely:

  • A parent-child hierarchy is based on a single logical table (ex. the "Person" table)
  • Each row in the table contains two identifying keys, one to identify the member itself, the other to identify the "parent" of the member (for example, Emp_ID and Mgr_ID)

OBI Training, April 2013

Working with Pivot Tables and Hierarchies

In this topic, you learn how to create an analysis with a Pivot Table view using a hierarchical column, format, add a calculated column to a pivot table, and add a Gauge view with special formatting.

Creating and Formatting a Pivot Table view and Adding Calculations In this subtopic, you begin by creating a new analysis with a hierarchical column and then applying a named filter. Also you format and add totals. Pivot tables provide the ability to rotate rows, columns, and section headings to obtain different perspectives of the same data. They are interactive in that they are drillable, expandable, and navigable. To create an analysis with a pivot table, perform the following steps:

  1. Click New > Analysis on the global header.
  2. Choose the Finance – General Ledger subject area.
  3. Add the following: a. From the Chart Fields / DEPARTMENT folder: - Division (Current) - MBU (Current) - Department (Current) b. From the ACCOUNT folder: - Account Hierarchy c. From the MEASURES folder: - Actuals
  4. Add two filters: a. Fiscal Year is equal to / is in 2012-2013 (located in the Accounting Period folder). b. MBU (Current) is equal to / is in STUDENT ENGAGEMENT - LEADERSHIP. (located in the Department folder).

Click the Results tab to view the analysis. Notice that the Pivot Table view is designed by default.

OBI Training, April 2013

Table Sort and Re-Pivot Because hierarchical columns imply pivot tables, you can sort not only on columns and measures, but also on rows. Hierarchical members on the row edge can include sort carat icons, which allow you to sort the members on the column edge by that row, in either ascending or descending order.

Note that when sorting, the the carat icons that point up and down are used to sort rows, while the carat icons that point left and right are used to sort columns (Values).

When you sort members in a hierarchical column, you always sort within the parent; that is, children are never sorted outside of their parent. The children appear below the parent in the proper sort order; the parent is not sorted within its children.

Hovering your cursor over a row or column member will cause two different icons to appear.

  • The icon circled in RED is for sorting
  • The icon circled in BLUE (called a “swap icon”) is for Pivoting (moving columns to rows, or rows to columns)

There is also the functionality to sort and move using a “shortcut menu” that is accessible by right- clicking in various areas. Practice sorting rows and columns and view your results.

OBI Training, April 2013

Let’s change around this Pivot Table. We are going to swap the position between department

and account.

  1. Right-click the Account Header and choose “Collapse all items in view”. Right-click again and choose “Sort Layer”, the “Clear all Sorts in View”
  2. Hover your cursor over the first department and notice the “swap Icon” appear. Drag and drop between the MBU and the Account.
  3. Hover your cursor over the account heading and notice the “swap Icon” appear. Drag and drop right below the “Actuals” headings.

Your analysis should look like this.

Save your work.

OBI Training, April 2013

f. Click DONE when finished.

  1. Lastly, we need to add the gauge to our Compound Layout. In the Views Pane (lower left), select the gauge, and then click the green “add view” icon to move it over to the layout.
  2. Save you analysis. Hover over the gauges and notice how they will give you information about the percentages for each department, along with the range on the gauge they fall into.