Dynamic subset creation using TI
Posted: Tue Oct 18, 2011 9:57 pm
We have created many many subsets to provide alternate roll-up of locations not identified in the location dimension. Currently the subsets use dynamic MDX and are based on attribute values. However, when a new attribute value is created, I have to manually add a new subset and manually add the new subset to the UDC.
For example: "Customer" is an attribute. And some customer attributes values are "Rhonda" and another is "Bruce". The locations codes with the 'Customer" attribute value of "Rhonda" are ABC, DEF and locations GHI, JKL have the "Customer" attribute "Bruce". So subset "Customer - Rhonda" = ABC, DEF and subset "Customer - Kwan" = GHI and JKL. provides ABC and DEF.
What I would like to be able to do is have TI do two things :
1) dynamically create subsets for each "Customer" attribute value, so when a new "Customer" attribute "Sue" is created a new subset "Customer - Sue" is automatically created. Subset "Customer - Sue" would contain the locations with the "Customer" attribute = to "Sue" say MNO & PQR.
2) dynamically create a UDC containing all the subsets for the "Customer" attribute, name it "Customer - ALL" and it would contain all "Customer - ???' subsets, for example "Customer - Rhonda", "Customer - Burce" and "Customer - Sue".
I am using office 2007 and am using TM1 9.5.1.
Am I asking too much? I've been told that is typical of me
Thank you for your time.
For example: "Customer" is an attribute. And some customer attributes values are "Rhonda" and another is "Bruce". The locations codes with the 'Customer" attribute value of "Rhonda" are ABC, DEF and locations GHI, JKL have the "Customer" attribute "Bruce". So subset "Customer - Rhonda" = ABC, DEF and subset "Customer - Kwan" = GHI and JKL.
Code: Select all
{FILTER( {TM1FILTERBYLEVEL( {TM1SubsetBasis()}, 1)}, [MLOC].[CUSTOMER] = "Rhonda")}
What I would like to be able to do is have TI do two things :
1) dynamically create subsets for each "Customer" attribute value, so when a new "Customer" attribute "Sue" is created a new subset "Customer - Sue" is automatically created. Subset "Customer - Sue" would contain the locations with the "Customer" attribute = to "Sue" say MNO & PQR.
2) dynamically create a UDC containing all the subsets for the "Customer" attribute, name it "Customer - ALL" and it would contain all "Customer - ???' subsets, for example "Customer - Rhonda", "Customer - Burce" and "Customer - Sue".
I am using office 2007 and am using TM1 9.5.1.
Am I asking too much? I've been told that is typical of me

Thank you for your time.