Search found 3 matches

by CCYY
Sun Apr 19, 2020 2:28 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: How to get the element name from a hierarchy?
Replies: 9
Views: 5921

Re: How to get the element name from a hierarchy?

Looking at IBM's own documentation: https://www.ibm.com/support/knowledgecenter/en/SSD29G_2.0.0/com.ibm.swg.ba.cognos.tm1_ref.2.0.0.doc/r_tm1_ref_wrk_elementfirst.html For this and some (but not all :roll: ) of the new hierarchy functions, you need to specify the server name: ElementFirst("pla...
by CCYY
Sun Apr 19, 2020 2:25 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: How to get the element name from a hierarchy?
Replies: 9
Views: 5921

Re: How to get the element name from a hierarchy?

I am assuming by hierarchy that you mean a consolidation rather than an alternative hierarchy? If so you just want to use ElComp ( ‘PlanVersion’, ‘Current Version’, 1 ); The error you receive is standard if you try to use a function that is not available in your version of the software; the functio...
by CCYY
Sat Apr 18, 2020 2:50 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: How to get the element name from a hierarchy?
Replies: 9
Views: 5921

How to get the element name from a hierarchy?

Hello, I have a hierarchy always have only one element underneath, need to find out what the element name is in TI. I searched online and find a function called ElementFirst. When I put it in under the Prolog likes: CurrentVersion=ElementFirst('PlanVersion', 'Current Version'); I got an Process Erro...