ActiveForm to have multiple TM1RPTDATARNG.

Post Reply
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

ActiveForm to have multiple TM1RPTDATARNG.

Post by initm1 »

Hi I want ActiveForm to have multiple TM1RPTDATARNG currently is single row. I have more combination row data I want to be able to sync data/drill.
I tried changing the name range to include 2 rows but whn i rebuild the sheet it wipes off everything after the first row in active form where I have my formulas.

please help.
thanks!
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
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: ActiveForm to have multiple TM1RPTDATARNG.

Post by gtonkin »

BR, George.

Learn something new: MDX Views
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

Re: ActiveForm to have multiple TM1RPTDATARNG.

Post by initm1 »

thanks for the link. I have gone through this link (Guidelines when working with Active Forms and IBM Cognos TM1) couple of times already in the past too. I could not figure out how to add 2 rows with formulas. I add them but when rebuild it wipes everything off by itself.

pleas advice.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
User avatar
qml
MVP
Posts: 1097
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: ActiveForm to have multiple TM1RPTDATARNG.

Post by qml »

initm1 wrote:I tried changing the name range to include 2 rows but whn i rebuild the sheet it wipes off everything after the first row in active form where I have my formulas.
That's exactly what it does. An Active Form can only have exactly one TM1RPTDATARNG range that encompasses one or more whole rows. During a rebuild these rows are removed and recreated based on the first row in the range (a.k.a. the master row). Therefore adding (or deleting) rows manually makes no sense. There needs to be at least one TM1RPTROW formula in the master row, which contains a definition for what the other rows should be populated with. That definition can result in a single row or thousands of rows - and this is what will decide how big your TM1RPTDATARNG will be after a rebuild.

Of course, a sheet can have multiple active forms, each one with its own TM1RPTDATARNG, but they need to be placed vertically (one below the other). It is not clear from your question how exactly you are trying to expand your existing Active Form. There are a few things that can go wrong and result in your Active Form returning only one row where you would expect more. The most typical problems would be issues with TM1RPTROW or with the TM1RPTVIEW formula that it references.

If you provide more detail about what you are trying to do you I should be able to provide more specific tips.
Kamil Arendt
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

Re: ActiveForm to have multiple TM1RPTDATARNG.

Post by initm1 »

Thanks for the inputs. So now I'm to work with one masterrow and maybe have all my condition in that row.

Currently using 2 rows formulas I am trying to achieve below.

in row1 B26 =TM1RPTROW($B$9,"TM1DEV:Region","",Ctrl!$B$2:$B$9,"Name",0) then I want C26 =TM1RPTROW($B$9,"TM1DEV:LE","","Default","Name",0)
in row2 B27 =TM1RPTROW($B$9,"TM1DEV:Region","","NY","Name",0) then I want C27 =TM1RPTROW($B$9,"TM1DEV:LE","","GA","Name",0)

Can i combine this condition in 1 formula row?
Sorry I re-updated my comments. Thanks again.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
declanr
MVP
Posts: 1831
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: ActiveForm to have multiple TM1RPTDATARNG.

Post by declanr »

Just insert a second active form under the first one and then hide any rows inbetween.
Declan Rodger
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: ActiveForm to have multiple TM1RPTDATARNG.

Post by tomok »

If what you want is an active form where this two row combination repeats continuously down the page as the form expands then it will not work. As stated before, a single active form can have only one master row (with master row being the row that has formulas that repeat when the form expands). You can have multiple active forms in a single sheet but the rows from the different active form ranges can not overlap.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
initm1
Posts: 32
Joined: Mon Jul 20, 2015 7:19 am
OLAP Product: Microsoft
Version: 10.2
Excel Version: OFFICE365

Re: ActiveForm to have multiple TM1RPTDATARNG.

Post by initm1 »

Okay thanks again. At least now I wont have to try something impossible :).

thanks again this help. I'll have 2 forms to handle this.
TM1.Prespectives.Win7.Office365,Excel2016,Excel2010
Post Reply