DIMSIZ function#
DIMSIZ returns the number of elements in a dimension - useful for sizing loops and dynamic ranges.
DIMSIZ is a native TM1 / Planning Analytics function.
Signature#
=DIMSIZ("Server:Dimension")
Arguments#
| # | Argument | Type | Required | Permitted values and notes |
|---|---|---|---|---|
| 1 | Server:Dimension |
String | Yes | "server:dimension". |
DIMSIZ takes exactly one argument. The default result is 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 one argument | Hard error |
| No argument | Warning, 0 |
| Dimension not found | Warning, 0 |
Examples#
=DIMSIZ("PlanTM1:Region")
Related pages#
- IBM Planning Analytics functions - the function index and the shared error model.
- DIMIX function - the index of an element within a dimension.
- SUBSIZ function - the element count of a subset.
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.