TM1PRIMARYDATASOURCE
TM1PRIMARYDATASOURCE returns the first data source that you log into. This function doesn't accept any arguments.
Note: This function is valid only in Planning Analytics for Microsoft Excel and in
Planning Analytics websheets. It is not supported in
IBM®
TM1® Perspectives.
You can reset the returned value of TM1PRIMARYDATASOURCE by disconnecting from the data source or closing the Excel session. When you log in again, the values update to the new connection.
Syntax
TM1PRIMARYDATASOURCE()