Zero Values on N Elements

Post Reply
Horst
Posts: 7
Joined: Tue Dec 15, 2015 2:45 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Zero Values on N Elements

Post by Horst »

Hi,

I've one more challenge.

My cube has two dimensions, measures and items with some c and n elements. One measure per example is "rebates", which should be planned for all items. The other measure "budget" is only planned on c element level. The requirement is, that the budet value on n elements isn't visible or just zero. If possible, I do not want to solve this by
cellsecurity. Is there a possibility to use a rule for that or do this cause a conflict with the TM1 calculation logic?

I've attached a screenshot where you can see how the result should be.

Thank you.
Attachments
cube.png
cube.png (38.83 KiB) Viewed 5282 times
User avatar
Steve Rowe
Site Admin
Posts: 2456
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: Zero Values on N Elements

Post by Steve Rowe »

I think the answer to this will be no in a single cube, TM1 holds data at the N level so if you somehow made this zero then the C level value would be lost as well since there would be nothing to add up.

Off the top of my head something like this should work.
1. Create a budget entry cube that where the account dimension is summarised such that the data entry points are the N levels.
2. Rule the values down to the Actuals cube at the C level.

HTH...
Technical Director
www.infocat.co.uk
jwilkins
Posts: 18
Joined: Wed Sep 30, 2015 12:40 pm
OLAP Product: TM1
Version: 9.5.2+
Excel Version: 2007

Re: Zero Values on N Elements

Post by jwilkins »

You could define a rule along the lines of

Code: Select all

['budget']=N:0;
That would set all N elements to 0 for budget and because they are calculated, they would not be editable. But that's assuming you already have a C rule to calculate the budget for consolidations. Otherwise, all of the consolidations will just show 0.
Emily Wilkins - Software Engineer
Motio, Inc.
Horst
Posts: 7
Joined: Tue Dec 15, 2015 2:45 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Zero Values on N Elements

Post by Horst »

Thanks for your fast Reply.
Steve Rowe wrote:I think the answer to this will be no in a single cube, TM1 holds data at the N level so if you somehow made this zero then the C level value would be lost as well since there would be nothing to add up.

Off the top of my head something like this should work.
1. Create a budget entry cube that where the account dimension is summarised such that the data entry points are the N levels.
2. Rule the values down to the Actuals cube at the C level.

HTH...
I've already thought about your Suggestion before, but wouldn't that mean that I have to make a rule for every singe c element I got butget values for? So for every new Productgroup I have to expand the rule, right? I'm not sure whether this is administrable.
jwilkins wrote:You could define a rule along the lines of

Code: Select all

['budget']=N:0;
That would set all N elements to 0 for budget and because they are calculated, they would not be editable. But that's assuming you already have a C rule to calculate the budget for consolidations. Otherwise, all of the consolidations will just show 0.
I don't have a rule for my budget consolidations - so that will not work for 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: Zero Values on N Elements

Post by tomok »

Your issue is very common and is something that almost everyone wants that is building a budget model in TM1. The problem is that TM1 just doesn't work that way. Values are stored in N level elements. You can't budget at the C level (with the exception that you can enter a budget at the C level and allow TM1 to spread it to the N's underneath but in this case you are still storing at the N level).

You really have two options, and they both involve N levels, not C. You can pick an account underneath each C to be designated to hold the total budget for each rollup or you can create a pseudo item for the C items in question. For example, if the rollup is Sales Tax, with three children, but you want to budget at top level you can create a new item called Sales Tax_Entry, or something like that and have people enter it there instead. Neither option is perfect but are manageable. You can always control which accounts show up in a budget entry form or view by creating an attribute on the account called "Budget Account" and use that attribute to create a subset to base your form or view off. This way accounts not open for budgeting can be filtered out.
Last edited by tomok on Wed Jun 01, 2016 4:55 pm, edited 1 time in total.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Zero Values on N Elements

Post by David Usherwood »

You can't budget at the C level (with the exception that you can enter a budget at the C level and allow TM1 to spread it to the N's underneath but in this case you are still storing at the [C]N level).
Trying not to be picky but wanted to avoid confusion....
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Zero Values on N Elements

Post by declanr »

Horst wrote: I've already thought about your Suggestion before, but wouldn't that mean that I have to make a rule for every singe c element I got butget values for? So for every new Productgroup I have to expand the rule, right? I'm not sure whether this is administrable.
You wouldn't need individual rules; you just have 1 rule relating where the left hand side specifies the relevant measures and uses an =C:
You then use an If statement that can be based on the level in this dimension alone if your hierarchy is not ragged... if it is ragged you can just make your If check that the consolidated element in your hierarchy returns an 'N' from a DType check against the dimension you use in your data entry cube.
When the If condition is not met it uses CONTINUE to proceed as it otherwise would have.

The other options that have since been suggeated are also good ones but I just thought I'd clarify that point so you can make a more informed decision on what best suits your requirements.
Declan Rodger
Horst
Posts: 7
Joined: Tue Dec 15, 2015 2:45 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Zero Values on N Elements

Post by Horst »

Thank you very much for your helpful suggestions!
Post Reply