I know that this is probably a stupid question, but for some reason I can't find out how to do it, but does anyone have the worksheet formula which retrieves the TM1 data server name (ie the DB in Server Explorer) ?
I am proper stumped !!!!
Unfortunately I need to promote stuff between environments but the instances are not called the same resulting in a bunch of spreadsheets which are going to need updating.
Cheers
Ajay
TM1 Dataserver name
- qml
- MVP
- Posts: 1098
- 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: TM1 Dataserver name
Ajay, there is no function that would return the server name per se, but you can use the TM1USER worksheet function to that effect. It returns an empty string if the user is not logged on to a specific server, so you can use a clever set of IF statements coupled with the TM1USER function to figure out what server(s) you are connected to.
Kamil Arendt
- Ajay
- Regular Participant
- Posts: 183
- Joined: Wed May 14, 2008 8:27 am
- OLAP Product: TM1
- Version: 10.2.0, PA 2.0.9
- Excel Version: 2016
- Location: London
Re: TM1 Dataserver name
Thats brilliant QML and LOTSARAM.
That's worked very nicely.
Cheers
Ajay
That's worked very nicely.
Cheers
Ajay