Skip to content

Create Formula

Creates a formula.

Permissions

Command KindNeeded User Kind
WriteAll

Parameters

NameTypeDescriptionRequiredDefaultValues
DimensionstringName of the dimension ([Dimension]).yes
FormulastringName of the formula ([Formula]). A formula is a flat structure of a dimension. A Formula is build of items and sums. Sums are calculated with functions.yes
Caption1stringCaption 1no
Caption2stringCaption 2no
Caption3stringCaption 3no
Caption4stringCaption 4no
Caption5stringCaption 5no
Caption6stringCaption 6no
Caption7stringCaption 7no
Caption8stringCaption 8no
Caption9stringCaption 9no
Caption10stringCaption 10no
DefaultbooleanIf 'True' the formula becomes the default formula. The formula name '<Default>' is a reference to the default formula. The default value is 'False'.nofalse

Result

NameTypeDescription
FormulastringName of the formula.
Caption1stringCaption 1
Caption2stringCaption 2
Caption3stringCaption 3
Caption4stringCaption 4
Caption5stringCaption 5
Caption6stringCaption 6
Caption7stringCaption 7
Caption8stringCaption 8
Caption9stringCaption 9
Caption10stringCaption 10
DefaultbooleanIf 'True' the formula name '<Default>' is a reference to this formula.
SumsintegerNumber of sums of the formula.
ItemsintegerNumber of items of the formula.

Code

text
CREATE FORMULA
DIMENSION=[string, Needed]
FORMULA=[string, Needed]
CAPTION1=[string]
CAPTION2=[string]
CAPTION3=[string]
CAPTION4=[string]
CAPTION5=[string]
CAPTION6=[string]
CAPTION7=[string]
CAPTION8=[string]
CAPTION9=[string]
CAPTION10=[string]
DEFAULT=[boolean, default=false]