Skip to content

Show Trees

Shows the trees.

Permissions

Command KindNeeded User Kind
ReadAll

Parameters

NameTypeDescriptionRequiredDefaultValues
DimensionstringName of the dimension ([Dimension]).yes
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 [Tree]/[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
TreestringName of the tree.
Caption1stringCaption 1
Caption2stringCaption 2
Caption3stringCaption 3
Caption4stringCaption 4
Caption5stringCaption 5
Caption6stringCaption 6
Caption7stringCaption 7
Caption8stringCaption 8
Caption9stringCaption 9
Caption10stringCaption 10
AddNewItemsbooleanIf 'True' and a new dimension item is created, it is added to the top level of the tree.
DefaultbooleanIf 'True' the tree name '<Default>' is a reference to this tree.
BuilderstringFunction to build automatically tree sums.
BuilderSortstringSort order of the builder function: Name, Caption1, Caption2, Caption3, Caption4, Caption5, Caption6, Caption7, Caption8, Caption9 or Caption10.
SumsintegerNumber of sums of the tree.
ItemsintegerNumber of dimension items of the tree.
MaxLevelintegerMax level of the tree.
SubtreesintegerNumber of subtrees of the tree.

Code

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