All dimensions with PA hierarchies

Ideas and tips for enhancing your TM1 application
Post Reply
Wim Gielis
Posts: 2601
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.8
Excel Version: Microsoft 365
Location: Brussels, Belgium

All dimensions with PA hierarchies

Post by Wim Gielis » Fri Jul 26, 2019 9:21 am

Hello all,

Since some time now we can use hierarchies in IBM Planning Analytics. Any dimension can become a container of 1 or more so called hierarchies.Here is a dynamic subset on the }Dimensions dimension to identify all dimensions that contain hierarchies:

Code: Select all

Filter( TM1SubsetAll( [}Dimensions] ), Instr( [}Dimensions].CurrentMember.Lead(1).Name, [}Dimensions].CurrentMember.Name + ":" ) = 1 )
A TI process with a simple loop can suffice too but a dynamic subset seems more useful.

Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014 ==> 117 TM1 articles and a lot of custom code
Newest blog article: Using TI to change elemant names, like Biden to Trump

Post Reply