Another Feeder Assistance Request

Post Reply
MikeF
Posts: 11
Joined: Wed Jan 28, 2015 6:22 am
OLAP Product: Cognos Express
Version: 10.2
Excel Version: 2010

Another Feeder Assistance Request

Post by MikeF »

Hi,

I'm struggling to work out how to feed our Project cube based on this rule:

Code: Select all

['Forecast', 'D001','Project in Construction']=N:
IF (  ELLEV('Project',!Project) = 0 & ELISANC('CCL Project','Sys.Level 2 Projects',!Project) = 0 ,
    IF(
        NUMBR(!FinYear | ATTRS('Period',!Period,'Month No')) >=
        DB('Project Timing',!Version,'Construction',SUBST(!Project,1,5),'Start Month No')&
        NUMBR(!FinYear | ATTRS('Period',!Period,'Month No')) <=
        DB('Project Timing',!Version,'Construction,SUBST(!Project,1,5),'End Month No'),
    1,0),
CONTINUE);
The Project Timing cube that is the source for the calculation of whether the project is in construction was set up with these dimensions: Version, timing profile, project, timing measure. Currently this cube has no skipcheck or feeder section in its rules.

The Project cube (where the rule sits) has these dimensions: Version, FinYear, Period, Project, WorkCenter, ProjectMeasure.

The rule works fine and gives the right results, but consolidations aren't showing the totals as they're all reporting that there's no feeding going on. And I have no idea where to start trying to feed this beast!

Any assistance greatly appreciated!
RJ!
Community Contributor
Posts: 219
Joined: Mon Jul 23, 2012 8:31 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Another Feeder Assistance Request

Post by RJ! »

MikeF wrote:The rule works fine and gives the right results, but consolidations aren't showing the totals
How have you set up your consolidations in the .cfg file?

Have you tried to drop the "N" from the rule?
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: Another Feeder Assistance Request

Post by BariAbdul »

How have you set up your consolidations in the .cfg file?
Do you mean setting up this parameter in .cfg:
AllowSeparateNandCRules=T
"You Never Fail Until You Stop Trying......"
lotsaram
MVP
Posts: 3704
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Another Feeder Assistance Request

Post by lotsaram »

Hi Mike,

Rules need to be fed from DATA. No one is going to be able to help you unless you provide more information on the makeup of the dimensions in the cube and with respect to the measure dimension, where the input data is.

In a general sense though whether a project is active or not is dependent only on the project dimension itself and time (2 dimensions in this case). Work center is not relevant, so you need to be careful to calculate (and feed) only under a default work center or else you risk double-counting. I assume that D001 is the default work center and this is what you are trying to do, but it's only a guess as you haven't give all the information needed to actually help.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
tomok
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: Another Feeder Assistance Request

Post by tomok »

It looks like you are populating a flag called "Project in Construction" with a value of 1 whenever the project starting and ending months are between a month range inside the Finyear dimension. Here's the problem. Like lotsaram stated, the feeding has to come from data. In your case the only data available to feed this flag would be the Project Timing cube and would require a very tricky conditional feeder. I can't give you an example because there isn't enough info. However, I would recommend skipping the rule and populating the feeder with a TI process.

P.S. I'm not saying this because I don't think you can write the rule. Even if I were building the model myself I would use a TI to populate the flag.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
MikeF
Posts: 11
Joined: Wed Jan 28, 2015 6:22 am
OLAP Product: Cognos Express
Version: 10.2
Excel Version: 2010

Re: Another Feeder Assistance Request

Post by MikeF »

Hi Tomok, Lotsaram (and others)
tomok wrote:It looks like you are populating a flag called "Project in Construction" with a value of 1 whenever the project starting and ending months are between a month range inside the Finyear dimension.
This pretty much perfectly explains what I'm doing. The Timing cube stores the start and end periods as strings for each header project.
timing.JPG
timing.JPG (31.66 KiB) Viewed 5075 times
The flag in the Project cube gets set fine by the rule, but the natural consolidations show no values as they're not fed, as you can see in the screengrab.
consol.JPG
consol.JPG (75.22 KiB) Viewed 5075 times
lotsaram wrote:In a general sense though whether a project is active or not is dependent only on the project dimension itself and time (2 dimensions in this case). Work center is not relevant, so you need to be careful to calculate (and feed) only under a default work center or else you risk double-counting. I assume that D001 is the default work center and this is what you are trying to do
Yes, I've picked the D001 workcentre as the single target for the rule just for that reason - so the flag is only set in one WC.
tomok wrote:Here's the problem. Like lotsaram stated, the feeding has to come from data. In your case the only data available to feed this flag would be the Project Timing cube and would require a very tricky conditional feeder. I can't give you an example because there isn't enough info. However, I would recommend skipping the rule and populating the feeder with a TI process.
I suspected it wasn't ever going to be easy. Do you mean populate the C level consolidated figure from a TI, or somehow populating the feeder directly from the TI? That's a new concept to me.
tomok
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: Another Feeder Assistance Request

Post by tomok »

MikeF wrote:Do you mean populate the C level consolidated figure from a TI, or somehow populating the feeder directly from the TI?
Neither. Populate the "Project in Construction" element using TI. It should be easy enough. That value doesn't really need to be dynamic does it? How often will it change? Once a month, or whenever a new project is added? That doesn't qualify, at least in my opinion, for something that needs to be dynamic. Whenever I build a model I save rules for items that really need to be dynamic. Don't overly complicate your models.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
Post Reply