Data from TM1 to DWH

Post Reply
TM1ethusiast
Posts: 27
Joined: Wed Mar 06, 2013 2:48 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2007

Data from TM1 to DWH

Post by TM1ethusiast »

I need to write a process which should push the Data form TM1 to Data Warehouse.Has anybody done this before?Thanks a lot
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: Data from TM1 to DWH

Post by lotsaram »

ODBCINSERT
Wim Gielis
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: Data from TM1 to DWH

Post by Wim Gielis »

Hello Lotsaram

Just stepping in on this one.
Can you link me/us to more information on this function?
Don't think I used that function before.

Thanks,

Wim
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
User avatar
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: Data from TM1 to DWH

Post by qml »

Probably better to stick to the more traditional* ODBCOutput function.
















* i.e. non-imaginary ;)
Kamil Arendt
TM1ethusiast
Posts: 27
Joined: Wed Mar 06, 2013 2:48 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2007

Re: Data from TM1 to DWH

Post by TM1ethusiast »

I will explain my requirement again,there are two file which are generated monthly from other source systems and we process the data loading in TM1,now what we want to do is after processing the data load ,TM1 should push same data in to EDW without any modification.Your help will be greatly appreciated.Thanks
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Data from TM1 to DWH

Post by David Usherwood »

Write a TI using the ODBCOUTPUT function.
Despite the name, this doesn't actually output to an ODBC data source, but executes a line of SQL whic you need to build from your content - something on the lines of (say)

Code: Select all

odbcoutput(<dsn>,
'insert into some_table values(''' |
  account |
  ''',''' |
  dept |
  ''',' |
  value |
  ')' 
  );
As you can imagine this isn't fun to debug. I replace odbcoutput(<dsn>, by asciioutput(file, and look at how the SQL is building up.
You may find writing a flat file and using bcp to be less painful and probably faster.
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: Data from TM1 to DWH

Post by lotsaram »

qml wrote:Probably better to stick to the more traditional* ODBCOutput function.

* i.e. non-imaginary ;)
ROTFLMAO
:oops:
Post Reply