Enhance the analysis capabilities of Flexible Variance mode by customizing the columns in the grid. For example, you can add custom columns, change the number format, or hide columns. These actions are accessible via the menu button in the column’s header and when you right-click the column’s header.
The following screen recording quickly demonstrates how to add a calculation column and take several actions with it.
Change the number format
You can change the format of the numbers displayed in any of the numeric (measure) columns in the grid.
Right-click the column header and select Number format, then select the required format from the list.
Add a calculation column
You can add custom calculation columns to perform calculations based on data within the grid. Take advantage of the inbuilt functions to quickly create formulas for your calculation columns.
Identify where you want the new column to sit.
A new column is always inserted to the right of the column from which you add it.
If you add a calculation column from any of the breakdown period columns, a new column will be added for each one of those breakdown columns and the same formula will be applied to each one.
Right-click the column to the left of where you want to add the new column and click Add calculation column.
Right-click the new column's header and select Edit formula. This action puts the fx bar into edit mode.
Click in the fx bar and enter a formula or function for the calculation, then press Enter. The calculation results are displayed in the new column. You enter formulas in a similar way to how you do it in other spreadsheet software, such as Microsoft Excel or Google Sheets. To use a function, either click the blue down arrow next to the formula box and select a function from the list, or start typing the name of the function you want to use. As you type, a list of function names displays based on what you've entered so far.
Proceed to manage the column, such as giving it a more meaningful name or changing its number format.
(Optional) Save your view as a favorite.
See the video screen recording above for a quick demonstration or expand the following example for detailed steps.
This example shows how to add a column to calculate the working day equivalent values for the Period 1 column in the grid.
Right-click the first comparison column (Period 1) and click Add calculation column.
Right-click the new column’s header and select Rename column, click in the white box and type P1 Working Day Value, then press Enter.
Right-click the new column's header and select Edit formula.
When the fx bar is in edit mode, click the first comparison column (Period 1).
Enter the division symbol.
Type W and select WORKING DAYS from the function list that displays.
Press the Open parentheses ( key and select the working day calendar from the list that displays, followed by a comma, then click the first comparison column (Period 1) again and press the Close parentheses ).
Press Enter or Return to complete the formula entry.
The following image show how the formula is built step by step. You can see that when you reference column in a formula, a chip displays with the column name. The chip has the same color as the column border so you can clearly see the link. This formula uses the Working Days function in which there are two calendars to choose from. When the second calendar called Working Days is selected, it displays as calendar number 2 in the formula.
See this Use formulas page for help. Although it’s a Budgets & forecasts page, a lot of the information is applicable here, and many of the functions are the same.
Some functions unique to Flexible Variance mode are:
ARRAY
Function: ARRAY(value1, [value2…])
Groups multiple values into a single, ordered list for use as a parameter within other functions.
value1: The first value or column coordinate within the group. example: '1',
[value2...] = Optional, repeatable additional values or column coordinates within the group. example: '2, 3',
COALESCE
Function: COALESCE(value1, [value2…])
Description:
Returns the first non-empty value from the parameters.
Value1 is the first value or column coordinate to consider when searching for the first non-empty value. For example, []:[current].
Value2... is optional, repeatable additional values or column coordinates to consider when searching for the first non-empty value. For example, 0.
COUNT
Function: COUNT(coordinate1, [coordinate2…])
Description:
Returns the number of columns referenced by one or more range coordinates.
Coordinate1 is the range coordinate to count the number of referenced columns for. For example, []:[measures;current].
Coordinate2... is optional, repeatable additional range coordinates to count the referenced columns for.
FORECAST LINEAR
Function: FORECAST.LINEAR(position, series)
Description:
Predicts the value at a given position within the given series using linear regression.
Position is the position within the series to calculate the predicted value for.
Series is an array of values or a range coordinate to use as the knowns in the linear regression.
PERCENTILE
Function: PERCENTILE(series, k)
Description:
Returns the kth percentile value for the given series (inclusive of k), where k is a value from 0 to 1.
Series is an array of values for which to calculate the kth percentile.
k is the value between 0 and 1 (inclusive) of the percentile rank.
PERIOD COUNT
Function: PERIODCOUNT(coordinate)
Description:
Returns the number of period bands (e.g. months, days) in the period associated with a column.
Coordinate is the coordinate of a transaction column to find the period for.
For example, if the []:[current] column references the Rolling 12 Months period, PERIODCOUNT([]:[current]) will return 12
Hide a column
Hiding a column is useful if you create a more complex calculation that requires the creation of multiple calculation columns, and you only want to see the results. For example, if you create a variance column but do not want to display the two underlying columns.
Right-click the column and select Hide column. To unhide the column, click the blue line where it’s hidden between the other two columns.
Edit the name of a column
You can change the name of any columns you add to the grid to give them a more meaningful description. This is important if you save and share your view as a favorite, as it lets others know what data is in the column.
Right-click the column header and select Rename column, click in the white box and type the new name, then press Enter.
Delete a column
You can delete any columns you add to the grid.
Right-click the column and select Delete column. The column is deleted instantly. You can click the Undo button if you accidently delete a column.