New Upload weather data from web services into TM1/Planning Analytics — Read the post →

Slice Worksheet Formulas

Complete reference of all 56 Slice functions and formulas.

#

Formula

Description

1

ArcAssistant(message, maxTokens, temperature)

Makes a request to Arc Assistant

2

ArcAssistant.Data(message, data, maxTokens, temperature)

Makes a request to Arc Assistant with a data array

3

CubeDimensions(instanceName, cubeName)

Returns a comma-separated list of dimensions in the cube

4

DBH(instanceCube, ...parameters)

Read/Write data from a cube with hierarchy

5

DBHW(instanceCube, ...parameters)

Read/Write data to a cube with hierarchy

6

DBR(instanceCube, ...elements)

Read/Write data from a cube IBM docs

7

DBRA(instanceDim, element, attribute)

Gets attribute of an element IBM docs

8

DBRASingle(instanceDim, element, attribute)

Same as DBRA but avoid batching.

9

DBRW(instanceCube, ...elements)

Read/Write data to a cube IBM docs

10

DBS(value, instanceCube, ...elements)

Sets a value in a cube IBM docs

11

DBSA(value, instanceDim, element, attribute)

Sets an attribute value in a dimension IBM docs

12

DBSS(value, instanceCube, ...elements)

Sets a value in a cube (shortcut for DBS) IBM docs

13

DBSSEND()

Sends DBS in the active worksheet

14

DBSSENDALL()

Sends DBS in the active workbook

15

DBSW(value, instanceCube, ...elements)

Writes a value to a cube IBM docs

16

DefineCalc(sDatasource, sServerName, sCalcMun, sExpression, [bOutputMun], [bDisableScramble])

Creates synthetic members that can be incorporated into reporting. IBM docs

17

DFRST(instanceDim)

Returns the first element of a specified hierarchy IBM docs

18

DIMIX(instanceDim, element)

Returns the index number of an element within a hierarchy IBM docs

19

DIMNM(instanceDimension, index, alias)

Returns the element of a hierarchy that corresponds to the index provided IBM docs

20

DIMSIZ(instanceDim)

Returns hierarchy size IBM docs

21

DNEXT(instanceDim, element)

Returns following element of a hierarchy IBM docs

22

DNLEV(instanceDim)

Returns the number of levels in a hierarchy IBM docs

23

DTYPE(instanceDim, element)

Returns element type IBM docs

24

ELCOMP(instanceDim, element, index)

Returns the name of the n-th child of a consolidated element IBM docs

25

ELCOMPN(instanceDim, element)

Returns the number of components of an element IBM docs

26

ELISCOMP(instanceDim, element1, element2)

Returns true if element1 is a component of element2 IBM docs

27

ELISPAR(instanceDim, element1, element2)

Returns true if element1 is a parent of element2 IBM docs

28

ELLEV(instanceDim, element)

Returns the level of an element in a hierarchy IBM docs

29

ELPAR(instanceDim, element, index)

Returns the name of the n-th parent of an element IBM docs

30

ELPARN(instanceDim, element)

Returns the number of parents of an element IBM docs

31

ELSLEN(instanceDim, element)

Returns the length of an element principal name IBM docs

32

ELWEIGHT(instanceDim, element1, element2)

Returns the weight of element2 in consolidation of element1 IBM docs

33

ExecuteActionButton(id)

Executes a Button. Not to be used in a worksheet

34

N_CONNECT(groupInstance, userName, password, camNamespace)

Connects to a TM1 server using UDF

35

RunTIProcess(instanceName, processName, ...parameters)

Runs a TI Process

36

SliceIsLoggedIn(instanceName)

Returns true if the user is logged in

37

SUBNM(instanceDimension, subset, element, alias)

Returns an element from a hierarchy IBM docs

38

SUBSIZ(instanceDim, subset)

Returns the number of elements in a hierarchy subset IBM docs

39

TABDIM(instanceCube, index)

Returns the cube dimension name corresponding to the index IBM docs

40

TM1ELLIST(instanceDimension, subset, elementList, alias, expandAbove, mdx, indentRate, indentCharacter)

Returns the array of hierarchy elements IBM docs

41

TM1PRIMARYDBNAME(option)

Returns database names. 0=First server, 1=Logged in servers, 2=All servers IBM docs

42

TM1RECALC1()

Recalculates the active worksheet

43

TM1REBUILDALL()

Rebuilds all worksheets in a workbook

44

TM1REFRESH()

Rebuilds the active worksheet

45

TM1RptColumn(instanceCubeView, instanceDimension, subset, subElements, alias, exabove, mdx, drill)

Defines a master column used by an Active Form

46

TM1RptElIsConsolidated(ref1, ref2)

Returns boolean indicating whether an Active Form element is consolidated IBM docs

47

TM1RptElIsExpanded(ref1, ref2)

Returns boolean indicating whether an Active Form element is expanded IBM docs

48

TM1RptElLev(ref1, ref2)

Returns integer indicating element level IBM docs

49

TM1RptFilter(viewRef, tuple, function, value, order)

Creates a filter on an Active Form column IBM docs

50

TM1RptRow(instanceCubeView, instanceDimension, subset, subElements, alias, exabove, mdx, indent, drill)

Defines a master row used by an Active Form IBM docs

51

TM1RptTitle(instanceDimension, element...)

Returns Active Form title dimension IBM docs

52

TM1RptView(instanceCubeID, zeroSuppression, ...arguments)

Defines a view used by an Active Form IBM docs

53

TM1SET(Host, Server, Dimension, Hierarchy, SetExpression, SelectedElement, SessionSetOut, ActiveDisplay, DisplayModeEnum)

Takes a set expression as input and returns a member of a set (similar to DBRW and SUBNM). IBM docs

54

TM1User(serverName)

Returns current user name IBM docs

55

TM1Val(datasourceUri, server, cube, ...args, ...memberRefs)

Hierarchy-aware writeback formula. Writes a value to a cube using fully-qualified [dimension].[hierarchy].[element] member references. IBM docs

56

View(instanceCube, ...elements)

Returns the instance and cube name IBM docs