CA2UN
This function converts captions to unique element names. Formulas in Office Plus operate on the unique names of elements. But users might have no knowledge of unique names. CA2UN provides a method by which element captions which users select or enter are converted to unique names and can be used in formulas.
CA2UN is not available with Infor CPM Relational Provider database aliases which use the DSConnector driver.
Syntax
=CA2UN(Alias,Cube, Hierarchy1, Element 1, Hierarchy 2, Element
2, ...Hierarchy N, Element N")
Arguments to this function can be strings, or references to cells containing strings. If strings, they must be enclosed in quotes.
Example
=CA2UN(B2,B3,"[Product]",F4)
Cell B2 contains the 'Best Practices OLAP' database alias.
Cell B3 contains 'Sales', a cube of the Best Practices sample database.
In cell F4, users are prompted to enter a product name (for example, SUV80 Scorpion).
In cell B4, the CA2UN formula
=CA2UN(B2,B3,"[Product]",F4)
converts the entered
location to its unique name. For example:
[Product].[All Tires].[SUV (4x4)].[SUV80 Scorpion]
=CELL.GETC(B2,B3,CA2UN(B2,B3,"[Product]",F4))