Hi, in TM1 is it possible to create a dynamic dimension from the values of another cube.
if it is possible cud u provide some idea.
I am using 10.2 version.
Thanks
Dynamic Dimension
-
- Community Contributor
- Posts: 217
- Joined: Thu Aug 15, 2013 9:05 am
- OLAP Product: TM1
- Version: 10.2.1.1
- Excel Version: 14.0.6129.5000
Re: Dynamic Dimension
Hello,
yes it is quite possible, you can use the CellGetS or CellGetN function, while loop around the cube and passing the return values into another function which creates elements into the newly created dynamic dimension you want.
Any more questions, just ask.
Trevor.
yes it is quite possible, you can use the CellGetS or CellGetN function, while loop around the cube and passing the return values into another function which creates elements into the newly created dynamic dimension you want.
Any more questions, just ask.
Trevor.
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Dynamic Dimension
Yes sure. For example, create a cube view as a data source, and in the Advanced > Metadata tab you simply do a DimensionElementInsert statement.
Use DimensionElementComponentAdd to add the newly inserted element as a child to a different element.
Should be rather straightforward actually, if you understand what a TI process is all about and how it operates.
Use DimensionElementComponentAdd to add the newly inserted element as a child to a different element.
Should be rather straightforward actually, if you understand what a TI process is all about and how it operates.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Community Contributor
- Posts: 217
- Joined: Thu Aug 15, 2013 9:05 am
- OLAP Product: TM1
- Version: 10.2.1.1
- Excel Version: 14.0.6129.5000
Re: Dynamic Dimension
Indeed, he could also use the direct functions, to add attributes straight away if he needs to.Yes sure. For example, create a cube view as a data source, and in the Advanced > Metadata tab you simply do a DimensionElementInsert statement.
Use DimensionElementComponentAdd to add the newly inserted element as a child to a different element.
It seems as if the use of the world values is ambiguous, which is why I suggested going into the cells of the cube and using those values as new elements.
But you are right, TIs can handle this sort of stuff easily, so it is fairly straight forward.
Thanks.