HI
i have a period Dimention. Year-> Quarter -> Month . Now we are entering exchange rates for every month. So I want to lock previous month dynamicly.
Manuly i am able to do it now by 'Lock' Security. Am locking every element. But how can i do it dynamicly...
plz helpp
Lock Every Previous Month Dynamic
- vinnusea
- Posts: 116
- Joined: Thu Sep 23, 2010 6:12 pm
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
- Location: San Diego ,CA
Lock Every Previous Month Dynamic
Thanks
Vinnusea
Vinnusea
- rkaif
- Community Contributor
- Posts: 328
- Joined: Fri Sep 05, 2008 6:58 pm
- OLAP Product: IBM Cognos TM1
- Version: 9.1 or later
- Excel Version: 2003 or later
Re: Lock Every Previous Month Dynamic
You can write a TI Process to setup the security. You will have to use the ElementSecurityPut() and SecurityRefresh functions.
Then you can either run the Process manually or can put it within a Chore which runs automatically every month.
Then you can either run the Process manually or can put it within a Chore which runs automatically every month.
Cheers!
Rizwan Kaif
Rizwan Kaif
- vinnusea
- Posts: 116
- Joined: Thu Sep 23, 2010 6:12 pm
- OLAP Product: TM1
- Version: 10.2
- Excel Version: 2010
- Location: San Diego ,CA
Re: Lock Every Previous Month Dynamic
Thank you very much and also can you tell me how this works
Okay ElementSecurity is good .. Can you tell me if i need to put element security to a subset of Current Year
Subset: Current Year --> Dynamic with MDX query.
This subset contain example: 01-2010,02-2010.............. 12-2010
So this always contain 12 elements updated every year automatically.
Now comes Function ElementSecurityPut(Level, DimName, ElName, Group);
Here level = Lock , DimName = Period , Elname= ????? and Group = abc1
How to use my subset and tell his function to lock only the previous months .For example today month is 09-2010 . I need to lock 01,02,03,04,05,06,07,08-2010 and 09-2010....11-2010,12-2010 must be editable.
Okay ElementSecurity is good .. Can you tell me if i need to put element security to a subset of Current Year
Subset: Current Year --> Dynamic with MDX query.
This subset contain example: 01-2010,02-2010.............. 12-2010
So this always contain 12 elements updated every year automatically.
Now comes Function ElementSecurityPut(Level, DimName, ElName, Group);
Here level = Lock , DimName = Period , Elname= ????? and Group = abc1
How to use my subset and tell his function to lock only the previous months .For example today month is 09-2010 . I need to lock 01,02,03,04,05,06,07,08-2010 and 09-2010....11-2010,12-2010 must be editable.
- Attachments
-
- w.JPG (16.31 KiB) Viewed 2552 times
Thanks
Vinnusea
Vinnusea