• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Creating Time Series Measures & Create a Measure Using the

In this topic you create time series calculation measures using Oracle BI time series functions.

Time series functions include AGO, TODATE, and PERIODROLLING. These functions let you use Expression Builder to call a logical function to perform time series calculations instead of creating aliases for physical tables and modeling logically. The time series functions calculate AGO, TODATE, and PERIODROLLING functions based on the calendar tables in your data warehouse, not on standard SQL date manipulation functions.

To create time series measures, you perform the following steps:
• Identify a Logical Dimension as a Time Dimension
• Identify Level Keys as Chronological Keys
• Create a Measure Using the AGO Function
• Create a Measure Using the TODATE Function
• Create a Measure Using the PERIODROLLING Function
• Test Your Work

Identify a Logical Dimension as a Time Dimension

1 . Return to the Administration Tool and open the BISAMPLE repository in offline mode.
2 . In the BMM layer, double-click the H1 Time logical dimension to open the Logical Dimension dialog box.

2

3 . In the Structure section, select Time.

2

Time series functions operate on time-oriented dimensions. To use these functions on a particular dimension, you must designate the dimension as a Time dimension.
4 . Click OK to close the Logical Dimension dialog box.

Identify Level Keys as Chronological Keys
1 . Expand the H1 Time logical dimension and double-click the Time Detail level to open the Logical Level dialog box.
2 . Click the Keys tab.

2

3 . Select the Chronological Key check box for Calendar Date.

2

4 . Click OK to close the Logical Level dialog box.
5 . Repeat and set chronological keys for the following levels:

Logical Level Chronological Key
Year Per Name Year
Half Per Name Half
Quarter Per Name Qtr
Month Per Name Month
Week Per Name Week

It is best practice to designate a chronological key for every level of a time logical dimension.

 Create a Measure Using the AGO Function

1 . Right-click the F1 Revenue logical table and select New Object > Logical Column.
2 . On the General tab, name the column Month Ago Revenue.

2

3 . On the Column Source tab, select “Derived from existing columns using an expression.”

2

4 . Open the Expression Builder.
5 . Select Functions > Time Series Functions > Ago.

2

6 . Double-click Ago or click Insert selected item to add the Ago function to the Expression Builder.

2

7 . Click <<Measure>>in the expression.

These core tutorials will help you to learn the fundamentals of OBIEE 11g. 
For an in-depth understanding and practical experience,  explore OBIEE 11g Training.

2

8 . Select Logical Tables > F1 Revenue and then double-click Revenue to add it to the expression.

2

9 . Click <<Level>> in the expression.

2

10 . Select Time Dimensions > H1 Time and then double-click Month to add it to the expression.

2

11 . Click <<Number of Periods>> and enter 1. The Ago function will calculate the Revenue value  one month before the current month.

2

12 . Click OK to close the Expression Builder. Check your work in the Logical Column dialog box:

2

13 . Click OK to close the Logical Column dialog box. The Month Ago Revenue time series measure is added to the F1 Revenue logical table.

2

14 . Drag the Month Ago Revenue logical column to the Base Facts presentation folder.

2

For indepth understanding of OBIEE click on

Summary
Review Date
Reviewed Item
Creating Time Series Measures & Create a Measure Using the AGO Function
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Creating Time Series Measures & Create a Measure Using the AGO Function"

Leave a Message

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

Site Disclaimer, Copyright © 2016 - All Rights Reserved.