Math

Contents[Hide]

The Math transform lets you perform simple math functions such as Absolute, Ceiling, and Square Root on numeric input columns. It is similar to the String transform except that it offers math functions instead of string functions.

The following functions are available:

  • Round
  • Absolute
  • Ceiling
  • Floor
  • Truncate
  • Square Root
  • Multiply by 100

Transform - Math
Transform - Math

1. Input

The Math transform requires 1 input transform that has one or more numeric columns.

For example, the input could be a SQL Select transform that reads data from the AdventureWorks 2012 table, [Sales].[SalesOrderDetail].

Input table
Input table

2. Add the transform

To add this transform to an existing data cube process, first select the connection link between two connected transforms.

Go to the toolbar, click Insert Common, and then select Math.

Select connection link and insert the transform
Select connection link and insert the transform

The Math transform is inserted between the two transforms.

Math transform is inserted
Math transform is inserted

3. Configure the transform

Double-click the Math transform or select the Configure option from its right-click menu.

In the configuration dialog for the transform, decide which input column you want to apply a math function on, and then click the column's Edit icon. Also uncheck any columns you do not require.

Edit a column if you want to apply a Math function
Edit a column if you want to apply a Math function

In the Transform Element dialog, use the dropdown to select the Math function you want (e.g., Round). Then click Submit.

Select a Math function to round off LineTotal values
Select a Math function to round off LineTotal values

4. Output

The output ot the Math transform consists of the column(s) you selected, where each column may be unchanged or the result of applying a selected math function.

Click the Process Result transform and open the Data Preview to see the output of the data cube.

Output of Math transform shows LineTotal values have all been rounded
Output of Math transform shows LineTotal values have all been rounded

5. See also

Dundas Data Visualization, Inc.
500-250 Ferrand Drive
Toronto, ON, Canada
M3C 3G8

North America: 1.800.463.1492
International: 1.416.467.5100

Dundas Support Hours: 7am-6pm, ET, Mon-Fri