Select Page

Essbase ASO Version of BSO Dynamic Time Series

Author: Christian Screen | | November 19, 2009

ASO does not provide an out-of-the-box version of dynamic-time-series (DTS) like its partner in crime, BSO. However, one straightforward approach to achieving this functionality is to implement a time aggregation dimension and leverage MDX functionality.  In this example, we will house the Time Periods/Months (i.e.:  Mar, Apr, May, etc.) and the Years dimensions into two separate dimensions.  We then add an additional dimension called “Time Series” to the outline to support our ASO version of DTS.

The Time Series dimension will consist of three sibling members: MTD, QTD, and YTD.  The data being loaded into our cube is always at the monthly/period level of granularity so for the MTD member no formula is required.  In the load rule file for the data load this column can load the simple value of ‘MTD’ since all data is loaded in at that level.

By adding in the MDX formulas below for the other two members, QTD and YTD, the final Time Series dimension should look like this:

MDX Forumulas

/*QTD*/
CASE WHEN IsLevel([Time Periods].CurrentMember, 0)
THEN
/* Add all values from the first sibling of the member to itself */
sum(PeriodsToDate ([Time Periods].levels(2),[time periods].currentmember), [scenarios].currentmember )
ELSE
/* Meaningless to ask for QTD for any other [Year].dimension member. */
Missing
END

/*YTD*/
CASE WHEN IsLevel([Time Periods].CurrentMember, 0)
THEN
/* Add all values from the first sibling of the member to itself from the first fiscal period */
Sum( [Mar]:[Time Periods].CurrentMember, [Scenarios].CurrentMember)
ELSE
/* Meaningless to ask for QTD foranyother [Year].dimension member. */
Missing
END

Conclusion

By leveraging an additional “Time Series” dimension we free up our cube to be completely sliceable and not restricted to a particular scenario or multiplied time dimension members in our time period dimension like some old-hat solutions.

Oracle BI Publisher (BIP) Tips: Functions, Calculations & More

Check out these BI Publisher tips including functions & calculations so you can understand more about the production and support of BI Publisher reports.

Sherry Milad | January 15, 2018

How to Index a Fact Table – A Best Practice

At the base of any good BI project is a solid data warehouse or data mart.

Christian Screen | March 16, 2010

Qlik vs. Tableau vs. Power BI: Which BI Tool Is Right for You?

Tableau, Power BI, and Qlik each have their benefits. What are they and how do you choose? Read this blog post for a quick analysis.

Tom Hoblitzell | June 6, 2019

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.

CONTACT US

Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.

EXPLORE JOBS