Creating TI to add attributes to cubes
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Creating TI to add attributes to cubes
I was thinking of creating a subset for the }Cubes dimension for non-control cubes, what syntax is there to use to like be able to use "}" as my basic determinant of control cubes...but I'm not sure how EQUAL or LIKE syntax would be for TI.
-
- MVP
- Posts: 3703
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Creating TI to add attributes to cubes
Hi appleglaze,
For some reason I feel like your personal TM1 tutor lately
This should do the trick to generate a subset of just your "user defined cubes."
Phil Bichard's MDX primer is a good resource!
If you want to process all members of the }Cubes dimension in TI then you can just test the first character with sub string eg.
For some reason I feel like your personal TM1 tutor lately

This should do the trick to generate a subset of just your "user defined cubes."
Code: Select all
{EXCEPT(
{TM1SUBSETALL( [}Cubes] )},
{TM1FILTERBYPATTERN( {TM1SUBSETALL( [}Cubes] )}, "}*" )}
)}
If you want to process all members of the }Cubes dimension in TI then you can just test the first character with sub string eg.
Code: Select all
IF( SubSt(sCube, 1, 1) @= '{' );
-
- Regular Participant
- Posts: 269
- Joined: Tue Apr 21, 2009 3:43 am
- OLAP Product: Cognos TM1, Planning
- Version: 9.1 SP3 9.4 MR1 FP1 9.5
- Excel Version: 2003
Re: Creating TI to add attributes to cubes
Thanks Lotsaram, truly appreciate it...just a bit too hard to go through all the manuals not knowing if they have the stuff you need or not.