How to fail a feeder....

Post Reply
User avatar
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

How to fail a feeder....

Post by Steve Rowe »

I'm just wondering if there is a best way to write a feed that will fail in a large proportion of cases.

I'm doing some fairly straight forward time series mapping to bring various forms of prior period data into the current month so that BI has some a nice simple structure to reference.

I have an attribute against period that gives me the period I need to feed to, 90% of the time these will blank.

Which form of the feeder will fail with the lightest load?

[]=> DB ( If (AttrsIsBlank, '' , 'CubeName') , !Dim1 , !Dimetc , AttrValue, !Dim10);

or

[] => DB ( 'CubeName' , !Dim1 , !Dimetc , AttrValue, !Dim10);

I assume it is the later because there is no If statement but I'm wondering if at runtime a DB with no cube name fails much faster than a DB with a blank reference. I can see the first form could make the calculation engine give up faster as there is no cube to perform the DB on.
The second reference could actually mean that an attempt to fire the feeder is made, only failing when the AttrValue is blank is encountered during execution, or does the engine not perform the feeder action if it knows one of the references is blank?

Probably splitting hairs but it would be good too know if anyone has done any fine testing at this level of detail..

Cheers,
Technical Director
www.infocat.co.uk
User avatar
gtonkin
MVP
Posts: 1269
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: How to fail a feeder....

Post by gtonkin »

Hi Steve,
I am not going to answer your question but ask you one.
Why would you not create a C level of all the items where the Attribute is not blank and use that on the left side - this way it would only feed from items in the list i.e. those with an attribute? Granted you would need a TI process to flatten and rebuild and may not suit where users change attributes before you can refire your rebuild process.
BR, George.

Learn something new: MDX Views
User avatar
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: How to fail a feeder....

Post by Steve Rowe »

+1 for you...

A good suggestion, all the data is recast each month anyway so I'm not concerned about it having "live" issues.

Cheers,
Technical Director
www.infocat.co.uk
Post Reply