Possible to feed Measures data to a cube with uncommon dim?

Post Reply
tcasey
Posts: 29
Joined: Mon Dec 07, 2009 5:19 pm
OLAP Product: TM1
Version: 9.5
Excel Version: Excel 2003 + 2007

Possible to feed Measures data to a cube with uncommon dim?

Post by tcasey »

Is it possible to feed Measures data to a cube that does not have a common dimension?

For example if I have a Payroll Budget cube with dimensions of Dept, Job Code and Earning and I calculate the GL Account and GL Dollars by business rules in the Payroll Budget Measures dimension, can I feed just the GL Account and GL Dollars to a cube that has GL Account as a dimension and GL Dollars as a Measure of a GL Budget Measures dimension?

Or do I have to export the data and populate the GL Budget cube using a TI process?

Thanks for your help,

...Tom
Windows XP Professional Version 2002 Service Pack 3
Excel 2003 + 2007
TM1 9.5 64 bit
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Possible to feed Measures data to a cube with uncommon d

Post by Martin Ryan »

Yes, it's quite possible. In your feeders (and rule) you just need to hard code a few references. Or alternatively make use of attributes to map one dimension to another dimension.

There's an example of the syntax for a problem that's somewhat similar to your own in the Wiki: http://wiki.olapforums.com/index.php?title=TM1_Feeders (see the "Intercube feeders" section)

You might also want to have a look at the rule and feeder posts from the FAQ post.

Cheers,
Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
ajain86
Community Contributor
Posts: 132
Joined: Thu Oct 15, 2009 7:45 pm
OLAP Product: TM1
Version: 9.4.1 9.5 9.5.1
Excel Version: 2003 2007

Re: Possible to feed Measures data to a cube with uncommon d

Post by ajain86 »

Tom,

This can definitely be achieved. I have not tested this but saw a similar implementation in an application.

You would create an intermediary cube that would have dimensions from the other 2 cubes:
Dept, Job Code, Earning, GL Account, GL Budget Measures

In the Payroll Budget Cube:
Skipcheck;
Feeders;
['GL Dollars'] => DB('GL Calc',!Dept,!Job Code,!Earning,DB('Payroll Budget',!Dept,!Job Code,!Earning,'GL Account'),'GL Dollars');

In the Intermediary cube (GL Calc):
Skipcheck;
['GL Dollars'] = n: If( DIMNM('GL Account',DIMIX('GL Account',!GL Account)) @= DB('Payroll Budget',!Dept,!Job Code,!Earning,'GL Account'), DB('Payroll Budget',!Dept,!Job Code,!Earning,'GL Dollars'), STET );
Feeders;
['GL Dollars'] => DB('GL Calc',!Dept,!Job Code,!Earning,!GL Account,'GL Dollars');

In the GL Budget Cube:
Skipcheck;
['GL Dollars'] = DB('GL Calc','Dept','Job Code','Earning',!GL Account,'GL Dollars' );
Feeders;

Ankur
Ankur Jain
tcasey
Posts: 29
Joined: Mon Dec 07, 2009 5:19 pm
OLAP Product: TM1
Version: 9.5
Excel Version: Excel 2003 + 2007

Re: Possible to feed Measures data to a cube with uncommon d

Post by tcasey »

Thanks Martin and Ankur for your responses. I will try your suggestions and report back with my results.

Regards,

...Tom
Windows XP Professional Version 2002 Service Pack 3
Excel 2003 + 2007
TM1 9.5 64 bit
Post Reply