Skip to content

Show Table Tree

Shows the tree items of a table. Number or text fields are not shown.

Permissions

Command KindNeeded User Kind
ReadAll

Parameters

NameTypeDescriptionRequiredDefaultValues
TablestringName of the table ([Table]).yes
TreestringDimension and Tree ([Dimension].[Tree]).yes
Filterarray of stringFilters by dimension item ([Dimension].[Item]) or tree sum ([Dimension].[Tree].[Sum]). The tree sum format is equal to 'FilterTree'.no
FilterAttributearray of stringFilters by attribute ([Dimension].[Attribute].[Value]).no
FilterRangearray of stringFilters by an item range ([Dimension].[StartItem].[EndItem]).no
FilterTreearray of stringFilters by tree sum ([Dimension].[Tree].[Sum]).no
InvisiblesbooleanIf 'True' invisible items or sums are shown. The default value is 'True'.notrue
LevelintegerMax level to be shown. If it is '0' all levels are shown. The default value is '0'.no0
SubtablestringName of the subtable ([Subtable]). A subtable contains additional filters used by the table.no
SubtreestringName of the subtree ([Subtree]). A subtree is a flat extract of items and sums of the tree.no
SubtreeExpandbooleanif 'True' all sums of the subtree are expanded. The default value is 'False'.nofalse
SumsOnlybooleanIf 'True' only sums are shown. The default value is 'False'.nofalse

Result

NameTypeDescription
LevelintegerLevel of the tree node.
TypestringType of the tree node: Item or sum.
NamestringName of the item or sum.
Caption1stringCaption 1
Caption2stringCaption 2
Caption3stringCaption 3
Caption4stringCaption 4
Caption5stringCaption 5
Caption6stringCaption 6
Caption7stringCaption 7
Caption8stringCaption 8
Caption9stringCaption 9
Caption10stringCaption 10
AttributesstringList of the attributes of the dimension item.
FactornumberFactor of the item or sum.

Code

text
SHOW TABLE TREE
TABLE=[string, Needed]
TREE=[string, Needed]
FILTER=[string, Multiple]
FILTERATTRIBUTE=[string, Multiple]
FILTERRANGE=[string, Multiple]
FILTERTREE=[string, Multiple]
INVISIBLES=[boolean, default=true]
LEVEL=[integer, default=0]
SUBTABLE=[string]
SUBTREE=[string]
SUBTREEEXPAND=[boolean, default=false]
SUMSONLY=[boolean, default=false]