What's new Download Reportworq
⬇ Guide PDF

ELCOMPN function#

ELCOMPN returns the number of children (components) a consolidated element has.

ELCOMPN is a native TM1 / Planning Analytics function.

Signature#

=ELCOMPN("Server:Dimension", element)

Arguments#

# Argument Type Required Permitted values and notes
1 Server:Dimension String Yes "server:dimension".
2 element String Yes Element name. A numeric value warns but is accepted.

ELCOMPN takes exactly two arguments. The default result is 0. A non-consolidated element returns 0.

What happens when an argument is wrong#

For the shared error model and the Calc Mode effect, see how Reportworq handles errors.

Situation Result
More than two arguments Hard error
Fewer than two arguments Warning, 0
The element is not consolidated Returns 0
Dimension or element not found Warning, 0

Examples#

=ELCOMPN("PlanTM1:Region", "North America")

Feedback on this page

Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.

Email feedback on this page

Or write to support@reportworq.com directly.