Hi friends,
I have a cube named HR,
Having following dimensions.
Function,
Facility,
Scenario,
Serial No(1,2,3,4)
Department
Account Code,
Measures-Employee Name,Allocation %,Amount, Allocated Department, Allocated Account Code.
The design is some employees are working in different department however the budgeting for them happens in the same department and it gets allocated across different department as per the allocation % specified.
For EG Employee A belongs to IT Department, but he also works for Finance department hence the allocation should be 50% for IT and 50% for finance in the P & L cube.
Note:The budgeting for this employee would be done under the IT department only and it should automatically allocate it.
My problem is that once the user is done with entering the HR budgets, it should go and hit the P & L cube to its respective Account Code and respective Department.
Currently I am doing it using a nested while loop, however there is too much of code involved.
I am trying to export the cube as a text file and import it back to the P & L cube but whenever I try to export the cube the process terminates unexpectedly.
I am not sure if I am on the right track,Is there any simple way in which i can achieve this?
allocating values from one cube to another cube.
-
- Posts: 33
- Joined: Tue Aug 30, 2011 8:34 am
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 10.0
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: allocating values from one cube to another cube.
I'm not sure this is technical problem with TM1? If you have rules / TI scripts that you are having a problem with please post them and we will help you where we can.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: allocating values from one cube to another cube.
If you are exporting a cube did you make sure to suppress zeros in your view? If not, your export is likely to crash your server. This is a comon mistake by newbies.
-
- Posts: 33
- Joined: Tue Aug 30, 2011 8:34 am
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 10.0
Re: allocating values from one cube to another cube.
Thanks Tom, I will try by suppressing zeroes.
Hi Jim,
Thanks for the reply, I am a newbie so I was just asking if the approach adopted is alright, or is there any other way to do such things.
Hi Jim,
Thanks for the reply, I am a newbie so I was just asking if the approach adopted is alright, or is there any other way to do such things.
- Steve Rowe
- Site Admin
- Posts: 2464
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: allocating values from one cube to another cube.
You'd often use rules to do this kind of simple allocation, in pseudo code this looks something likes this.
[Allocated Head count]=N: [Input Headcount] * DB ( Departmental allocation rates);
If you are using TI to do this it may be a bit of an overkill plus with rules you will get your results in real time.
Cheers
[Allocated Head count]=N: [Input Headcount] * DB ( Departmental allocation rates);
If you are using TI to do this it may be a bit of an overkill plus with rules you will get your results in real time.
Cheers
Technical Director
www.infocat.co.uk
www.infocat.co.uk
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: allocating values from one cube to another cube.
Hi Ravi,ravi.ahuja21 wrote:Thanks Tom, I will try by suppressing zeroes.
Hi Jim,
Thanks for the reply, I am a newbie so I was just asking if the approach adopted is alright, or is there any other way to do such things.
I miss read the last 2 lines of your post. Apologies.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Posts: 33
- Joined: Tue Aug 30, 2011 8:34 am
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 10.0
Re: allocating values from one cube to another cube.
Hi Jim,
It's ok, Thanks for your time appreciate that.
It's ok, Thanks for your time appreciate that.
-
- Posts: 33
- Joined: Tue Aug 30, 2011 8:34 am
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 10.0
Re: allocating values from one cube to another cube.
Steve Rowe wrote:You'd often use rules to do this kind of simple allocation, in pseudo code this looks something likes this.
[Allocated Head count]=N: [Input Headcount] * DB ( Departmental allocation rates);
If you are using TI to do this it may be a bit of an overkill plus with rules you will get your results in real time.
Cheers
Hi Steve,
Thanks for the valuable inputs & time.