Issue with Activ Form TM1RPTROW

Post Reply
Stéphane
Posts: 11
Joined: Mon Feb 27, 2012 9:55 am
OLAP Product: TM1
Version: 9.5.2 FP1
Excel Version: 2007

Issue with Activ Form TM1RPTROW

Post by Stéphane »

Hi,

Here is my issue :

I generate a simple Activ Form with Perspectives, the TM1RPTROW is used that way :

=TM1RPTROW($B$9;"tm1serv:analytique";"";'{AR}01'!$B$23;"Lib_fr";0)

'{AR}01' is an hidden sheet created by tm1, at $B$23 I find the value i originally set with my activ form : Direction Services Supports

in excel i see :
+ Direction Services Supports *my measure number*

which is fine to me



If in '{AR}01' i change the value of $B$23 (for example to Services centraux which is a son of Direction Services Supports) and i recalculate the activ form nothing change : my AF still

i still get
+ Direction Services Supports *my measure number*

but expected
+ Services centraux *my measure number*


Can anyone tell me what I miss ?


(I'm 9.5.2 FP2)

Thank you very much
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: Issue with Activ Form TM1RPTROW

Post by lotsaram »

To recalculate the active form including change of the rowset the active form must be rebuilt. You do this by using Alt + F9 keys or the "Rebuild" button or by calling the VBA function TM1REFRESH.

For a change such as the one you are talking about it is much better not to use the hidden {AR}01 worksheet and instead use the MDX argument of the TM1RPTROW formula to pass in the member or member expression that you want on the rows.
Stéphane
Posts: 11
Joined: Mon Feb 27, 2012 9:55 am
OLAP Product: TM1
Version: 9.5.2 FP1
Excel Version: 2007

Re: Issue with Activ Form TM1RPTROW

Post by Stéphane »

Yes it works !

Thank you very much
Post Reply