Skip to content

Show Subtrees

Shows the subtrees.

Permissions

Command KindNeeded User Kind
ReadAll

Parameters

NameTypeDescriptionRequiredDefaultValues
DimensionstringName of the dimension ([Dimension]).yes
TreestringName of the tree ([Tree]). A tree is a hierarchical structure of a dimension. A tree is build of sums. These sums can contain other sums or elements of the dimensionyes
FindstringValue to search for in name and captions.no
MaxRecordsintegerMaximum number of records to be returned. The default value is 500000.no500000
SortstringSorts the output by name or caption ([Field].[Caption1]). The field can be [Subtree]/[Name], [Caption1], [Caption2], [Caption3], [Caption4], [Caption5], [Caption6], [Caption7], [Caption8], [Caption9], [Caption10]. Sort can be Ascending (Asc) or Descending (Desc), e.g. [Caption1].[Ascending]no

Result

NameTypeDescription
SubtreestringName of the subtree.
Caption1stringCaption 1
Caption2stringCaption 2
Caption3stringCaption 3
Caption4stringCaption 4
Caption5stringCaption 5
Caption6stringCaption 6
Caption7stringCaption 7
Caption8stringCaption 8
Caption9stringCaption 9
Caption10stringCaption 10
ItemsintegerNumber of items and sums of the subtree.

Code

text
SHOW SUBTREES
DIMENSION=[string, Needed]
TREE=[string, Needed]
FIND=[string]
MAXRECORDS=[integer, default=500000]
SORT=[string]