Rounding in Allocations

Post Reply
conflax
Posts: 47
Joined: Thu Jun 07, 2012 10:20 am
OLAP Product: TM1
Version: Various
Excel Version: Various
Location: UK

Rounding in Allocations

Post by conflax »

Hi all,

Please could you help with a (hopefully straightforward) question ?

I am building an allocation model where I want to spread overhead costs over a given basis (eg GWP), and I have built a TI process for this.

This works fine. There are some lines with zero GWP and it deals with these OK, but there are also some instances where the imported value I wish to divide by is not quite zero - eg "0.000004". This calculates through and gives me a massive allocation figure (eg £200 / .0000004 * 3 = £15m, whereas it should be zero).

Is there a simple function in TI that can round the selected input figure before doing the calculation? I don't want to round the output figure but would like to only accept an input (division) figure if it is 1 or more.


Thanks
Steve
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: Rounding in Allocations

Post by lotsaram »

conflax wrote: Is there a simple function in TI that can round the selected input figure before doing the calculation? I don't want to round the output figure but would like to only accept an input (division) figure if it is 1 or more.
You mean like ROUND or ROUNDP? Did you check the documentation? (Given that the "mathematical functions" only appear in the Rules guide and not in the TurboIntegrator guide so it might be possible for a 1st timer to miss but all the same it is (or should be) common knowledge that (almost without exception) rules functions can be used in TI processes, after all "This is a TM1® rules function, valid in both TM1 rules and TurboIntegrator processes" does appear at the top of every function description in the rules guide.)
conflax
Posts: 47
Joined: Thu Jun 07, 2012 10:20 am
OLAP Product: TM1
Version: Various
Excel Version: Various
Location: UK

Re: Rounding in Allocations

Post by conflax »

Um... I thnk the word "D'oh" applies here. I also note this was posted in the wrong place too.

In my defence, it was early on a rough Monday morning...

Thanks very much.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Rounding in Allocations

Post by jim wood »

Moved in to the right place. :D
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Post Reply