Page 1 of 1

SUBNM in TM1Web

Posted: Mon Feb 19, 2018 4:05 pm
by Willi
Hi,

we're running TM1 Planning Analytics and I try to realize a couple of SUBNMs to choose different Elements from the same Dimension. In Excel it looks like:
TM1_1.JPG
TM1_1.JPG (13.98 KiB) Viewed 3772 times
If I select an Element in one of the SUBNMs in TM1Web it looks like:
TM1_2.JPG
TM1_2.JPG (19 KiB) Viewed 3772 times
That means that the selection is written in every SUBNM. The formula looks like:

Code: Select all

=SUBNM($B$11;"Ausgleich_"⋐$C165)
The Index $C165 is different for every line to get different initial values. But the referenced cells are not filled during the Selection. I even tried to use different Dimension-References. Means: same content because it's the same dimension, but different cell-references. But it's still the same that the cells are all filled.

Any idea why this happens and how to avoid?

Thx and best regards.

Re: SUBNM in TM1Web

Posted: Mon Feb 19, 2018 10:23 pm
by Wim Gielis
Hello,

Just for testing, does it work it work if you hardcode the first 2 parameters in the SUBNM ?

Re: SUBNM in TM1Web

Posted: Tue Feb 20, 2018 6:03 am
by Willi
I‘ll try in the Evening today. Thx

Re: SUBNM in TM1Web

Posted: Tue Feb 20, 2018 8:55 pm
by Willi
Interesting. That's working. I'll make further Tests tomorrow. I Need a dynamic Name für the subset and the index.

Re: SUBNM in TM1Web

Posted: Wed Feb 21, 2018 8:20 pm
by MGrain
The problem is most likely due to the ampersand &. I’ve experienced issues in TM1Web with concatenation, particularly when building MDX queries dynamically.

Try putting

Code: Select all

 ="Ausgleich_"&Subset 
into a separate cell and referencing that cell instead.

Re: SUBNM in TM1Web

Posted: Thu Feb 22, 2018 1:57 pm
by Willi
That makes no difference.

I changed it now to one SUBNM with a TI-button to transfer the value. The button was already there with a slighty different meaning but it's okay. The user can live with ist.

But there is still a problem in TM1Web with a SUBNM and the Index-Parameter. When I have a bit more time I'll try to break it down.

Thx to all suggesting a solution.