Skip to content
May 17 / Administrator

DimensionElementPrincipalName


Description:

Returns the principal name of an element in a dimension.

Important - If you supply a name of an element which doesn't exist in dimension, the function returns the same name.


Syntax:

DimensionElementPrincipalName(DimName, ElemName);


Arguments:

DimName - Name of the dimension

ElemName - Name of the element. Name could be alias or the principal name


Return Type:

Nothing


Example:

DimensionElementPrincipalName('Products', 'Product1')
Let's say Product1 is an alias of an element, with real name GroceryProduct1

If Product1 exists in the Products dimension, function returns GroceryProduct1. But if Product1 doesn't exist, now, it's important, the function still returns Product1



Leave a Comment

Thank you for Downloading.

Please input valid email id so that we can send you download link.

Email id Required.

We respect your privacy and never share your email id with anybody.