OneStream

Using Overrides to Fix a Cube View GetDataCell Collison

Computer And Tools

Cube views provide a powerful and dynamic way to query data within OneStream.  Cube views are setup by selecting dimension members on a cube view’s POV, rows, and columns to govern how data will be displayed to the user when a cube view is executed. Users can view data in a variety of formats for consumption from the standard online data grid view, to an exported Excel spreadsheet, or a PDF report. Each one of these options provides designers the ability to customize the formatting and look and feel to meet their reporting needs. Understanding cube views and the features they offer is an important step to fully leverage the full reporting capabilities of OneStream.

Within cube views, there are a variety of techniques to query the data for the desired reporting needs. One example is the GetDataCell function which allows the cube view designer to accomplish “on-the-fly” calculations where the results are not stored within the system but executed at runtime. Any type of math can be performed by referencing the appropriate member filters and operators within the GetDataCell on a row or column of a cube view. However, there are some limitations when the situation arises that the intersection of a cube view’s data set has a GetDataCell function on both the row and column. This issue can be resolved by using overrides to calculate the specific intersection on the cube view where the GetDataCell collision exists.

To illustrate this issue and its resolution, let us review a sample cube view. Below is a simple cube view with two rows referencing accounts and two columns referencing entities.

Results Entity Account1

In the cube view designer, a user can add a new column that which provides the total for each row. Putting the following GetDataCell function in the column provides the total for each account for both entities.

Build Entity Account2

The result of the column GetDataCell function.

Results Entity Account2

Onestream - Modern Accounting: How to Overcome Financial Close Challenges
Modern Accounting: How to Overcome Financial Close Challenges

Improvements in each of the following period-close core tasks can provide transformative change and are reviewed in this guide include closing the books and external reporting, periodic reconciliations, and managing the period-close process.

Get the Guide

In the cube view designer, another row can be added to provide the total for each column. Putting the following GetDataCell function in the row generates a total for each entity for both accounts.

Build Entity Account3

The result of the row GetDataCell function.

Results Entity Account3

As one can observe, the cell below where the two GetDataCell functions intersect does not display or calculate properly. This is the result of a GetDataCell collision from the row and column not calculating with the right logic/sequence.

Results Entity Account3 Issue Cell

To resolve this issue, column/row overrides are leveraged. Below is an example of how to resolve this issue.

  1. Click on the row or column where the collision occurs
  2. With the selected row, select the “Column Overrides” tab
  3. Place the name of the column to override in the “Column Range” line
  4. In the member filter line, type the member scripts of each combination of account and entity to add for this specific cell
  5. Save and run the cube view

Build Entity Account4

With this update, the collision above is resolved and the cell is calculating the totals properly.

Results Entity Account4

In summary, cube views provide the main data query mechanism within OneStream and offer a lot flexibility in how to query the data and how data is returned as the result data set in OneStream. On occasion, the basic setup of a cube view may require adjustments to query data in a more dynamic manner. Functions like GetDataCell allow designers to write very specific query data sets that differ from the standard data cells rendered in a cube view row/column intersection. Where GetDataCell functions intersect, there can be “collisions” of data and result data sets rendered that are not logical. Utilizing overrides allow the designer to calculate specific cell values within a cube view so proper results are generated.

To learn more about the reporting capabilities of OneStream visit their website below by clicking the link or scanning the QR code with your smartphone’s camera app.

https://www.onestreamsoftware.com/platform/financial-reporting-software

OneStream Reporting QR

About the Author

Phil Kaplanis is a technical consultant with notable experience in consolidation and planning cloud applications. His OneStream background includes dimensional hierarchies, data input, data quality, data visualization, error troubleshooting, financial reporting, and Task Manager. Phil’s results-oriented approach has led to multiple successful finance and accounting projects.

More from this Author

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to the Weekly Blog Digest:

Sign Up