I was able to find a IBM article on how to create a csv file with a list of the dimensions and what cubes are using the dimensions. I was wondering if anybody has tried to do this but determining the which dimension are being used as a picklist.
Just for maintenance purposes, I was just wondering if anybody tried it.
List Measure Dimensio using Dimensions or Subset as Picklist
-
- 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
-
- MVP
- Posts: 3128
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.0.9.18
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: List Measure Dimensio using Dimensions or Subset as Pick
Hello
I never did create such a process, but it isn't that hard.
I limited myself to a loop over ElementAttributes control dimensions, testing whether there is a text element (attribute) called Picklist.
If needed, add a loop to check Picklist control cubes, but that might be harder to do.
See attached TI process, it will create a text file in the database directory for the TM1 server concerned.
Wim
I never did create such a process, but it isn't that hard.
I limited myself to a loop over ElementAttributes control dimensions, testing whether there is a text element (attribute) called Picklist.
If needed, add a loop to check Picklist control cubes, but that might be harder to do.
See attached TI process, it will create a text file in the database directory for the TM1 server concerned.
Wim
- Attachments
-
- Overview of picklists.pro
- Wim Gielis
- (3.84 KiB) Downloaded 294 times
Best regards,
Wim Gielis
IBM Champion 2024
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
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
-
- MVP
- Posts: 3128
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.0.9.18
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: List Measure Dimensio using Dimensions or Subset as Pick
Updated coding, more functionality provided. Still only }ElementAttributes_* dimensions are treated.
- Attachments
-
- Overview of picklists_V2.pro
- Wim Gielis
- (5.17 KiB) Downloaded 284 times
Best regards,
Wim Gielis
IBM Champion 2024
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
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
-
- MVP
- Posts: 3128
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.0.9.18
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: List Measure Dimensio using Dimensions or Subset as Pick
Last addition for now, a loop over cubes was added.
The code always generates 2 text files as output.
Wim
The code always generates 2 text files as output.
Wim
- Attachments
-
- Overview of picklists_V3.pro
- (7.09 KiB) Downloaded 287 times
Best regards,
Wim Gielis
IBM Champion 2024
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
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
-
- MVP
- Posts: 3128
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.0.9.18
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: List Measure Dimensio using Dimensions or Subset as Pick
appleglaze28
It seems that you are online here, but did not provide any feedback in your own topic.
I spent quite some free time to answer your question - it would be most polite to at least comment on the solution given.
If anything is unclear or should be changed, that could still be done.
Wim
It seems that you are online here, but did not provide any feedback in your own topic.
I spent quite some free time to answer your question - it would be most polite to at least comment on the solution given.
If anything is unclear or should be changed, that could still be done.
Wim
Best regards,
Wim Gielis
IBM Champion 2024
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
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