Skip to content

::tm1import ​

Load a structured Google Sheets table into an IBM Planning Analytics cube. Use this task when your source contains dimension elements and values in columns, such as a forecast table prepared outside TeamOne. To send edits from upload-enabled TeamOne formulas or explorations, use ::sheet.upload.

Prepare the source table ​

Start with a header row and arrange the dimension columns in the same order as the dimensions in the target cube. TeamOne reads the table from the header to the last used row and column, so keep extra notes or totals outside the source tab. Use principal element names or aliases that the cube recognizes. Use principal names for measures so TeamOne can identify their data types.

One Value column ​

Use one column for every cube dimension, including the measure dimension. Name the final column Value. Each row specifies a single cube cell and its value.

VersionRegionMeasureValue
ForecastNorthUnits120
ForecastNorthRevenue2400

Import table with dimension columns followed by a Value column

You can also use a ::tm1data result as the source if its columns follow this layout.

One column per measure ​

Use one column for each dimension up to the last cube dimension. Then add a column for each measure you want to load, using the measure’s element name as its header.

VersionRegionUnitsRevenue
ForecastNorth1202400

Import table with a separate column for each measure

Set up the task ​

Choose Data export task in TeamOne Configuration. The destination is the Planning Analytics cube.

OptionWhat it controls
-cubeRequired. Name of the destination cube.
-sheetRequired. Name of the source tab.
-tm1envConnection that contains the destination cube. Defaults to the connection selected in the sidebar.
-startRowRow containing the headers. Defaults to 1.
-startColumnFirst column of the table. Defaults to 1 for column A.
-skipBlankSet to true to skip empty cells. In the current add-on, this also skips numeric zeros.
-checkIfUpdatableSet to true to skip cells that TM1 reports as non-updatable, such as rule-calculated cells.

With -skipBlank omitted, an empty value for a numeric measure is written as 0. Check the target cube and source data before running the task. See Common options for task descriptions and visibility.

Example ​

To load the table on Forecast Upload into the Sales cube, add these rows to .TEAMONE. Replace Test with the name of your intended connection.

Column AColumn B
::tm1importLoad forecast table
-sheetForecast Upload
-cubeSales
-tm1envTest
-checkIfUpdatabletrue

See the sample spreadsheet for another setup.