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")
Related pages#
- IBM Planning Analytics functions - the function index and the shared error model.
- ELCOMP function - a child of a consolidation by index.
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 pageOr write to support@reportworq.com directly.