Worksheet function for Principal Element Name?

Post Reply
fleaster
Regular Participant
Posts: 167
Joined: Wed Mar 30, 2011 11:57 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: XL2010

Worksheet function for Principal Element Name?

Post by fleaster »

Ok, so I know in TI you can take an Alias and figure out what the original element is using the DimensionElementPrincipalName...

What I wanted to know is if there is a similar function that can be used in Excel Worksheets, or maybe some workarounds using existing tm1 formulas...?

Thanks! :)

Matt
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Worksheet function for Principal Element Name?

Post by declanr »

Dimnm ( Dimix (
Declan Rodger
fleaster
Regular Participant
Posts: 167
Joined: Wed Mar 30, 2011 11:57 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: XL2010

Re: Worksheet function for Principal Element Name?

Post by fleaster »

that was quick.. thanks for that! :)
User avatar
gtonkin
MVP
Posts: 1269
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: Worksheet function for Principal Element Name?

Post by gtonkin »

Another way may be to use the internal ALL subset e.g. I have a month dimension with an alias of 1 for Jan, 2 for Feb etc. If I want to return Jan (Principal) then I can do:

Code: Select all

=SUBNM("server:month","ALL","1")
BR, George.

Learn something new: MDX Views
fleaster
Regular Participant
Posts: 167
Joined: Wed Mar 30, 2011 11:57 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: XL2010

Re: Worksheet function for Principal Element Name?

Post by fleaster »

thanks, good tip :)
Post Reply