How to avoid Date Consolidation

Post Reply
lav4you
Posts: 52
Joined: Fri Jan 02, 2009 1:20 pm

How to avoid Date Consolidation

Post by lav4you »

Hi All,

I am looking for a alternative to rules for following situation.

I have one consolidation dimension and one measure dimension which includes dates input.

Following is an example

-----------------Value-------Approval Date---------Exp Go Live Date
TOTAL---------5000--------Crap :twisted:-------------Crap :twisted:
Item 1---------2000--------01/01/2011-----------03/05/2011
Item 2---------2000--------04/01/2011-----------05/05/2011
Item 3---------1000--------05/06/2011-----------07/07/2011


I dont want date consolidation but By default it does.
Putting rule is a very easy option.. but i am looking for some more efficient way to avoid rule and calculation overhead.(Geek was here..)
Is there any way to achieve this?

Regards,
Lav
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: How to avoid Date Consolidation

Post by tomok »

There are only two ways I know of to do this:

1) Create a rule to make Approval and Go Live 0 when consolidated, or,

2) Change your date fields to be strings instead of date serial numbers.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: How to avoid Date Consolidation

Post by lotsaram »

lav4you wrote:Putting rule is a very easy option.. but i am looking for some more efficient way to avoid rule and calculation overhead.(Geek was here..)
Is there any way to achieve this?
What rule inefficiency or calculation overhead are you speaking of exactly for this particular circumstance? As it is a C rule no feeding is needed, and unless you have a need to do some traversing of the children to find the first or last date (Min, Max) then there's also so little to be practically no overhead in a rule to simply override the displayed consolidation, say C: 0; or C: UNDEF;
User avatar
Harvey
Community Contributor
Posts: 236
Joined: Mon Aug 04, 2008 4:43 am
OLAP Product: PA, TM1, CX, Palo
Version: TM1 8.3 onwards
Excel Version: 2003 onwards
Contact:

Re: How to avoid Date Consolidation

Post by Harvey »

I always store dates as numbers and convert to strings as necessary. If date consolidation becomes an issue, it's ['...'] = C: 0; for me.

Why would you do it any other way? A date string is useless until you convert it to a date serial anyway, which is a fairly expensive operation, as it involves string parsing.

The only exception to this rule was when building Contributor applications in the earliest version of TM1 Contributor. In that case there was a bug that stopped the TM1Web view from parsing the date and converting to the appropriate date serial, as Excel does. I believe this is fixed now.
Take your TM1 experience to the next level - TM1Innovators.net
Post Reply