Adding a SUM total to the last row in Active Form

Post Reply
allico920
Posts: 5
Joined: Wed Aug 27, 2014 8:36 pm
OLAP Product: Performance Modeler
Version: 10.2
Excel Version: 2010

Adding a SUM total to the last row in Active Form

Post by allico920 »

I want to add a sum row to the bottom of an active form. For example, I have months across the columns and accounts down the rows. I want to perform a simple sum of all the accounts per month.

Where can I store this formula so that it holds? As of now when i rebuild the sheet the sum formulas changes to just hold the top row value.
The sum holds all rows when it is at the top of the account list but is there a way to keep it at the bottom?

Thanks!
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: Adding a SUM total to the last row in Active Form

Post by tomok »

allico920 wrote:I want to add a sum row to the bottom of an active form. For example, I have months across the columns and accounts down the rows. I want to perform a simple sum of all the accounts per month.

Where can I store this formula so that it holds? As of now when i rebuild the sheet the sum formulas changes to just hold the top row value.
The sum holds all rows when it is at the top of the account list but is there a way to keep it at the bottom?

Thanks!
Have your SUM formula add up all the current rows in the active form and one more row below. When the active form rebuilds it will then include all the new rows PLUS your blank row. Just make the height of the row 0 if you don't want to see it.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
allico920
Posts: 5
Joined: Wed Aug 27, 2014 8:36 pm
OLAP Product: Performance Modeler
Version: 10.2
Excel Version: 2010

Re: Adding a SUM total to the last row in Active Form

Post by allico920 »

THANK YOU!!!!
User avatar
gtonkin
MVP
Posts: 1265
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: Adding a SUM total to the last row in Active Form

Post by gtonkin »

Tomok's method is probably the most frequently used and preferred method.
In some case however you may need to do something other than sum with the range and adding the extra blank row may yield incorrect results e.g. averaging.

To get around this, you could reference the range and work with the column e.g.

Code: Select all

=AVERAGE(OFFSET(TM1RPTDATARNG1,0,COLUMN(),ROWS(TM1RPTDATARNG1),1))
IF you use the fx icon on the formula bar, the offset formula should be fairly self-explanatory.

This alternative may be of use to some who need to access a column in the AF for any number of reasons.
BR, George.

Learn something new: MDX Views
Post Reply