Public View with a Private Subset
Posted: Sun Mar 06, 2011 9:49 pm
Hi
I have a challenge where users wish to get a standard view of data from TM1 in a Excel spreadsheet. (With zero suppression and defined structure etc). However the view results needs to change based on a particular dimension subset which they will define in the excel spreadsheet (ie view results relate to cost centre xyz only). My original approach described below was to create a public view linking to a private subset (which would change based on the data they enter in the spreadsheet).
My approach to solving this was to use standard TM1 macro functions described below (requirement is to keep it simple and easy to maintain)
1: use the SUBDEFINE macro so the user can change a cell in excel and the Subdefine macro would simply define/redefine the dimension subset based this cell. Then refresh the view described below.
2: VUSLICE - create the initial view and base it on the required dimension subset above. This was the perfect format for the users requirements. In this view I thought to use the above subset that changes based on the users input.
The problem is I cannot create a public view (public view preferred as one view for admins to maintain) linking to a private subset.
My alternate options appear to be
1: Create and maintain multiple views based on the different users requirments (not preferred option due to maintenance requirements of multiple views)
2: Do the VUSLICE for all data then create an excel macro to delete the rows that are not releveant. (excel based solution may be hard to maintain)
3: Re-create a private view based on the private subset everytime the view is requested. (complex and not standard TM1 macro functionality)
Can anyone please help with ideas to solve this issue. The ideal solution would be the ability maintain View linked to private subsets that are defined as the user requests within excel (functionality and maintainability).
Regards
Jeremy
I have a challenge where users wish to get a standard view of data from TM1 in a Excel spreadsheet. (With zero suppression and defined structure etc). However the view results needs to change based on a particular dimension subset which they will define in the excel spreadsheet (ie view results relate to cost centre xyz only). My original approach described below was to create a public view linking to a private subset (which would change based on the data they enter in the spreadsheet).
My approach to solving this was to use standard TM1 macro functions described below (requirement is to keep it simple and easy to maintain)
1: use the SUBDEFINE macro so the user can change a cell in excel and the Subdefine macro would simply define/redefine the dimension subset based this cell. Then refresh the view described below.
2: VUSLICE - create the initial view and base it on the required dimension subset above. This was the perfect format for the users requirements. In this view I thought to use the above subset that changes based on the users input.
The problem is I cannot create a public view (public view preferred as one view for admins to maintain) linking to a private subset.
My alternate options appear to be
1: Create and maintain multiple views based on the different users requirments (not preferred option due to maintenance requirements of multiple views)
2: Do the VUSLICE for all data then create an excel macro to delete the rows that are not releveant. (excel based solution may be hard to maintain)
3: Re-create a private view based on the private subset everytime the view is requested. (complex and not standard TM1 macro functionality)
Can anyone please help with ideas to solve this issue. The ideal solution would be the ability maintain View linked to private subsets that are defined as the user requests within excel (functionality and maintainability).
Regards
Jeremy