Hi all
is there a code that allows me to combine avariable value with a string to make a variable name,
i.e
i1 = Test
c= 1
cellputn("testcube", 'I'|numbertostring(c),Tester)
I want to turn this:
'I'|numbertostring(c)
into this
i1
in excel this would be indirect what is this in TM1 TI code ?
thanks all
2 variables combined to make 1
-
- Posts: 141
- Joined: Wed Mar 09, 2011 1:25 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2003 2007 2010 2013
2 variables combined to make 1
Last edited by Darkhorse on Tue Jul 16, 2013 1:02 pm, edited 1 time in total.
- Steve Rowe
- Site Admin
- Posts: 2464
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: 2 variabbles combined to make 1
http://www.tm1forum.com/viewtopic.php?f=21&t=4921
or search for indirect variables! Search box is in the top right.
or search for indirect variables! Search box is in the top right.

Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- Posts: 141
- Joined: Wed Mar 09, 2011 1:25 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2003 2007 2010 2013
Re: 2 variabbles combined to make 1
Lol Steve ta m8 I did actually search for that weirdly that didn't pop up
but I thought it had to be in the system as its a major player in making extremely dynamic programming,
For those that find this post and can't be bothered clicking the link above.. It's EXPAND()


For those that find this post and can't be bothered clicking the link above.. It's EXPAND()


- Steve Rowe
- Site Admin
- Posts: 2464
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: 2 variabbles combined to make 1
Maybe you splet variables wrong in the serach box?
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- MVP
- Posts: 3241
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: 2 variabbles combined to make 1
LOL... look at the topic titleSteve Rowe wrote:Maybe you splet variables wrong in the serach box?

Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 141
- Joined: Wed Mar 09, 2011 1:25 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2003 2007 2010 2013
Re: 2 variabbles combined to make 1
shhh Wim Gielis


