I need some assistance with creating the Feeder for the Daily Avg cube for the following rule. Any assistance will greatly appreciated.
['Target', 'Major Mat Pos']=N:DB('Daily Avg','Target', ATTRS('Days',!Days,'Month'),SUBST(ATTRS('Days',!Days,'M/DD'),4,2),!Units,'Major Mat Pos','Daily Avg');
Here are the feeders that I have tried.
#-----------Feeders for the Maintenance Cost Prediction Summary Cube --------------#
['Estimate','Jan', '01','Distribution','Daily Avg'] => DB('Maintenance Cost Prediction Summary','Estimate','2011',!Units,'01','Distributed Costs (from Target Sheet)');
['Estimate','Distribution','Daily Avg'] => DB('Maintenance Cost Prediction Summary','Estimate','2011',!Units,'01','Distributed Costs (from Target Sheet)');
Thanks in advance.
Feeders between cubes
-
- MVP
- Posts: 263
- Joined: Fri Jun 27, 2008 12:15 am
- OLAP Product: Cognos TM1, CX
- Version: 9.0 and up
- Excel Version: 2007 and up
Re: Feeders between cubes
Could you post the dimensionality (in order) of all involved cubes and also state the rule that gets the 'Daily Avg' from the 'Maintenance Cost Prediction Summary Cube'?
-
- Posts: 52
- Joined: Thu Feb 17, 2011 2:52 pm
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 2007
Re: Feeders between cubes
Here is the rule that the 'Maintenance Cost Predict Summary Cube' uses to gets the 'Daily Avg'.Gregor Koch wrote:Could you post the dimensionality (in order) of all involved cubes and also state the rule that gets the 'Daily Avg' from the 'Maintenance Cost Prediction Summary Cube'?
Here is the dimensionality (in order) of the cubes involved.dfrench77 wrote:['Target', 'Major Mat Pos']=N:DB('Daily Avg','Target', ATTRS('Days',!Days,'Month'),SUBST(ATTRS('Days',!Days,'M/DD'),4,2),!Units,'Major Mat Pos','Daily Avg');
Daily Avg cube
Versions, Months, # of Days, Units, Data Entry, Employee Input
Maintenance Cost Prediction Summary
Versions, Years, Units, Days, Daily Cost
Here is the cube rule used to calculate the 'Daily Avg' for Distribution Cost in the 'Daily Avg cube'.
['Distribution','Daily Avg']=N:IF(DIMIX('# of Days',!# of Days) <= DB('Cost # of Days Data Entry',!Data Entry,!Months,!Versions,!Units,'# of days') ,DB('Cost # of Days Data Entry','Distribution',!Months,!Versions,!Units,'Daily Avg'), 0);
Thanks for your assistance.
-
- MVP
- Posts: 263
- Joined: Fri Jun 27, 2008 12:15 am
- OLAP Product: Cognos TM1, CX
- Version: 9.0 and up
- Excel Version: 2007 and up
Re: Feeders between cubes
In your OP you are saying that you want to feed the Rule in the Daily Avg cube
['Target', 'Major Mat Pos']=N:DB('Daily Avg','Target', ATTRS('Days',!Days,'Month'),SUBST(ATTRS('Days',!Days,'M/DD'),4,2),!Units,'Major Mat Pos','Daily Avg');
The Daily Average in the Daily Avg you get from the "Cost # of Days Data Entry" cube.
I would start by feeding the Daily Avg from "Cost # of Days Data Entry".
['Target', 'Major Mat Pos']=N:DB('Daily Avg','Target', ATTRS('Days',!Days,'Month'),SUBST(ATTRS('Days',!Days,'M/DD'),4,2),!Units,'Major Mat Pos','Daily Avg');
The Daily Average in the Daily Avg you get from the "Cost # of Days Data Entry" cube.
I would start by feeding the Daily Avg from "Cost # of Days Data Entry".
-
- Posts: 52
- Joined: Thu Feb 17, 2011 2:52 pm
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 2007
Re: Feeders between cubes
Yes, that is correct. Here is the feeder that I have tried to feed the 'Daily Avg' cube. However, the Rule Tracer indicates that the 'Daily Avg' is 'not fed'.
['Daily Avg']=>DB('Daily Avg',!Versions,!Months,'1',!Units,!Data Entry,'Daily Avg');
['Daily Avg']=>DB('Daily Avg',!Versions,!Months,'1',!Units,!Data Entry,'Daily Avg');
-
- 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: Feeders between cubes
You can't use the value 'Daily Avg' to feed because it isn't raw data, it's the result of a calculation. You have to go back to the element of the Daily Avg calculation that determines whether or not an account actually has an average and feed from that.dfrench77 wrote:Yes, that is correct. Here is the feeder that I have tried to feed the 'Daily Avg' cube. However, the Rule Tracer indicates that the 'Daily Avg' is 'not fed'.
['Daily Avg']=>DB('Daily Avg',!Versions,!Months,'1',!Units,!Data Entry,'Daily Avg');
-
- Posts: 52
- Joined: Thu Feb 17, 2011 2:52 pm
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 2007
Re: Feeders between cubes
Tomok,
Thanks for you guidance. I have modified the feeder based on your guidance and I have gotten results in the Daily Avg cube.
['# of days']=>DB('Daily Avg',!Versions,!Months,'01',!Units,!Data Entry,'Daily Avg');
['# of days']=>DB('Daily Avg',!Versions,!Months,'02',!Units,!Data Entry,'Daily Avg');
However, this feeder will require a separate feeder rule for each day of the month. Is there another way that I should be doing this to feed everyday of the month in one feeder rule?
Thanks for you guidance. I have modified the feeder based on your guidance and I have gotten results in the Daily Avg cube.
['# of days']=>DB('Daily Avg',!Versions,!Months,'01',!Units,!Data Entry,'Daily Avg');
['# of days']=>DB('Daily Avg',!Versions,!Months,'02',!Units,!Data Entry,'Daily Avg');
However, this feeder will require a separate feeder rule for each day of the month. Is there another way that I should be doing this to feed everyday of the month in one feeder rule?
- 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: Feeders between cubes
Substitue 01, 02 etc for a consolidation that holds all the days you wish to feed
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- Posts: 52
- Joined: Thu Feb 17, 2011 2:52 pm
- OLAP Product: TM1
- Version: 9.5
- Excel Version: 2007
Re: Feeders between cubes
Gregor, Tomok, and Steve,
Thanks for all your guidance with the feeders. Once I added a consolidation element to the '# of Days' dimension and used the consolidation in the feeder, the rules were fed properly.
Cheers!
Thanks for all your guidance with the feeders. Once I added a consolidation element to the '# of Days' dimension and used the consolidation in the feeder, the rules were fed properly.
Cheers!