Active Form - different variables

Post Reply
JKowalski
Posts: 8
Joined: Thu Nov 13, 2014 4:16 pm
OLAP Product: TM1 Cognos
Version: 10.2.2
Excel Version: 2010

Active Form - different variables

Post by JKowalski »

Hello

I have one simple question. I have a table in Active Form and I would like to know if it is possible to have second row with other variable than first. I use function DBRW. First parametr is a cube, second is the same like in every row, but the last one is dynamic and is taken according to apropriate line. I would like to have two dynamic parameters in one DBRW function but, it doesn't work in tm1 application. It is possible?

Please ask if you don't understand issue.
20132014
E1DBRW( cube, E1,P1,2013)DBRW(cube, E1, P1, 2014)
E2DBRW( cube, E2,P2,2013)DBRW(cube, E2, P2, 2014)
where:
E1, E2 - elements of dimension 1
P1, P2 - elements of dimension 2
2013, 2014 - elements of dimension 3
All elements are described as reference to cells.

When I recalculate form it looks like this:
20132014
E1NumValueNumValue
E2
In spite of fact, that all data is provided in cube, the second row is empty. Does anybody know why?
Last edited by JKowalski on Thu Mar 05, 2015 6:19 pm, edited 3 times in total.
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: Active Form - different variables

Post by tomok »

If it doesn't work, which I assume means you are getting KEY_ERR messages, then you have to make sure that every reference in every DBRW generated points to a real element in the appropriate dimension. If this isn't what you are taking about then I have no clue. Your post was one of the most confusing I've seen in a while.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
JKowalski
Posts: 8
Joined: Thu Nov 13, 2014 4:16 pm
OLAP Product: TM1 Cognos
Version: 10.2.2
Excel Version: 2010

Re: Active Form - different variables

Post by JKowalski »

I edited previous message to make it more understandable with example.
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Active Form - different variables

Post by David Usherwood »

Active forms work by replicating the first line down the rows as the user selections change. My belief is that you want to create asymmetric rows. The only way I think you could do this is to create a secondary dimension holding (say)
E1-P1
E2-P2
put that on the rows, then adjust the DBRW references to split the two out.
Post Reply