TEAMONE()
Use TEAMONE() when your sheet already has the rows, columns, and filters you want for a report. TeamOne fills in the values from an IBM Planning Analytics cube. You can also use the same layout as an input sheet and upload changes back to Planning Analytics.
Syntax
=TEAMONE(cubeName, rowElements, columnElements, contextFilters, options, solveOrder)cubeName— The cube to read, such as"Revenue". See Connection name to use a different connection.rowElements— The cells that define the report rows.columnElements— The cells that define the report columns.contextFilters— The elements that apply to the whole report, such as a version or region. Use a cell, a range, or an element name.options— The flags for how to retrieve or display values. Combine flags in one string, such as"AF".solveOrder— The order in which to recalculate dependent formulas. The default is0.
Examples
Read from the Revenue cube, use formatted values, and resize the columns to fit.
=TEAMONE("Revenue", A4:A5, B2:C3, A2:A3, "AF")Leave the column argument empty to use row elements and a context filter. This example filters the report to Gross Revenue.
=TEAMONE("Revenue", A4:A5, , "Gross Revenue")A row or column argument can refer to one cell or a range. Ranges can include blank rows or columns.

See the TEAMONE example in Google Sheets.
Combine with Google Sheets functions
Use one TEAMONE() call per cell. You can wrap it in a Google Sheets function, such as SUM() to return a total or ARRAYFORMULA() to apply a calculation to each value.
=SUM(TEAMONE(B2, B10:C16, D8:G9, B5:B7))
=ARRAYFORMULA(-1 * TEAMONE(B2, B10:C16, D8:G9, B5:B7))See the ARRAYFORMULA examples in Google Sheets.
Options
| Flag | What it does |
|---|---|
A | Resize columns to fit their widest content. |
F | Return values with the formatting defined in IBM Planning Analytics. |
U | Enable updates to Planning Analytics and write static values. Repeat U for multiple upload passes. |
S | Write the results as static values. |
R | Reverse the sign of numeric values. |
Q | Use quiet mode to suppress notes about default elements. |
Z | Show zeroes in place of blanks. |
E | Omit the NON EMPTY clause in the generated MDX so the formula can retrieve unfed or empty calculated cells. |
T | Use tuple-based MDX instead of Cartesian joins. This can help when a large report combines several cube slices. |
L | Evaluate large formula ranges when recalculating to reduce the amount of data stored for the formula. This can help avoid the property storage quota. |
X | Skip the formula when TeamOne recalculates the sheet. |
Formatted values
Use F to keep the formatting set in Planning Analytics. You can also format unformatted values directly in Google Sheets. If you plan to upload changes, use U without F.
Static values
With S, the first result stays in the formula cell and TeamOne writes the remaining results as values. This is useful for large reports that might otherwise exceed the property storage quota.
Static mode also lets you insert your own calculated rows or columns among the results. Leave the element for the last row or column dimension blank where you want TeamOne to skip a row or column.

Update mode
Add U to make the report editable. It also turns on static values. Edit the cells in Google Sheets, then use Upload data on the Content tab to send the changes to IBM Planning Analytics.
Repeat U when one change can make another cell writable. U allows one pass, UU allows up to two, and UUU allows up to three. Combine repeated flags with other compatible options, such as "AUU".
On each pass, TeamOne reads the current Planning Analytics values, checks which changed cells it can update, and uploads the eligible values. It reads Planning Analytics again before the next pass.
For example, a TM1 rule calculates Forecast revenue as 120,000 when Forecast method is Growth-based. You change the method to Manual and enter 150,000 as the revenue in Google Sheets. With UU, the first pass uploads Manual. The second pass can then upload 150,000 because the rule no longer controls the revenue cell.
TeamOne stops early if a pass has no values to upload. If a sheet has several TEAMONE() formulas, each formula participates only in the number of passes allowed by its own U flags.

Quiet mode
TeamOne adds a note to the formula cell when it supplies default elements for dimensions you left out. Use Q to suppress that note.

Zero values
Use Z to show zeroes in place of blank results.

Work with cube elements
Repeated elements
You can leave repeated labels blank in a multi-dimension row or column range. TeamOne reuses the preceding element name. The last row or column dimension still needs an element for each result you want to retrieve.

Default elements
When you leave out a dimension, TeamOne uses its default member and records it in a cell note. Use quiet mode to hide the note.

Ambiguous names and alternate hierarchies
Use dimension^hierarchy^element to identify the exact element when a name appears in more than one dimension or when you want an alternate hierarchy. You can use this syntax in a context filter or for the first element of a row or column range.

Connection name
By default, TeamOne uses the connection selected in the sidebar. Prefix the cube name with ConnectionName:: to use another configured connection.
=TEAMONE("TeamOneTest::Revenue", A4:A5, B2:C3, A2:A3)Recalculate dependent formulas
When a formula uses the result of another TeamOne function, assign the dependent formula a higher solveOrder. The default is 0. Use the same order for formulas that can run together to avoid unnecessary recalculation passes.
If you omit the options, you can put the solve order number in the options position.
=TEAMONE("Revenue", A4:A5, B2:C3, A2:A3, 2)TeamOne can query similar TEAMONE() formulas together when their filters, row and column dimensions, and options match.
Generate a formula from a cube or exploration
Use the Model tab to generate a TEAMONE() formula from a cube or view. You can also generate a formula from an exploration to start with its existing layout.

