cbielinski
New Contributor II

A simple way to ensure consistent cube view formats and save time is to create style parameters at the beginning of your OneStream implementation project.  This will ensure that everyone involved in development can utilize them and you won’t need to waste time correcting formats on numerous cube views after you are well into development. 

Another reason to utilize style parameters is it allows customers to customize what color and style scheme they would like for their dashboards and reports.  Some customers don’t like the default green/white/red cell color scheme in OneStream cube views for several reasons and want to change it to their own preferred colors scheme.

Note:  One of the most common reasons for changing the cell color scheme is that the most common type of color blindness is red – green.  If you ever want to test out a color scheme for cube views you can take a screen shot to this site: https://www.color-blindness.com/coblis-color-blindness-simulator/  

 

MarketPlace Solution Set up

You can download the Standard Cube View Styles solution from the OneStream Marketplace, it is located under the Reporting category and then load it into your application.

 

cbielinski_0-1632158376667.png

 

This will create a Dashboard Maintenance Unit named XFW Cube View Styles with a list of 52 parameters of various types.  You can customize each one of these or just the ones you want to use for your application.

 

cbielinski_1-1632158376671.png

 

I prefer to create my own dashboard maintenance unit and name it so it is the very first maintenance unit, in this case it was: 000_Parameters.  The reason being, if I need to look up or add a parameter, I can find it quickly.  This also allows the rest of the development team to add more parameters of any type in one location, so we don’t end up having numerous versions of the same parameter spread across different dashboard maintenance units.  

cbielinski_2-1632158376675.png

 

Creating a Style Parameter

  1. Create a parameter (in this case I am just doing a default cell and a default header)::

cbielinski_3-1632158376676.png

 

  1. Put a format in for the default value (you can create this by going into the cell or header format menu in a cube view and selecting various options, then copying and pasting what you have created from the format screen into the parameter definition) :

TextColor = Black, NegativeTextColor = Red, BackgroundColor = XFMediumBlueBackground WriteableBackgroundColor = Snow, ExcelNumberFormat = [#,##0_);[Red](#,##0)], NumberFormat = [#,###,0;(#,###,0);0]

cbielinski_6-1632159435816.png

 

  1. Click here on your cube view and add them into the Header Format and Cell Format area in the lower section of the cube view and then save the cube view.

Note: Clicking the ellipsis does not bring up a parameter selection screen, it brings up a format builder menu.  You are better off either copying and pasting your parameter in the following format: |!DefaultParameter!|

 

cbielinski_4-1632158376679.png

 

Overriding the Default Style Parameter

There are times where you might need to customize a column or row from the default format for reporting purposes.   You can change it on the column or row itself to override the default style setting.  In the example below the default NumberFormat is being overridden to show percentages in the % Change column.  

 

cbielinski_5-1632158376683.png