ti to load data from spreadsheets

Post Reply
scrummyd
Posts: 11
Joined: Wed Dec 17, 2008 1:58 am

ti to load data from spreadsheets

Post by scrummyd »

can someone please give an example on how to use ti to have a spreadsheet as a datasource which will be password protected to open and sheet protected. I've only ever used csv files.

And is it possible to load data from different sheets?
User avatar
Martin Ryan
Site Admin
Posts: 1988
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: ti to load data from spreadsheets

Post by Martin Ryan »

It's not possible to use spreadsheets as a source to TI. The best you can do is save the file as csv then load from there. Or use DBS formulae.

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
David Usherwood
Site Admin
Posts: 1454
Joined: Wed May 28, 2008 9:09 am

Re: ti to load data from spreadsheets

Post by David Usherwood »

Yonks ago I tried using Excel as an ODBC source and it worked. This wasn't with TM1 though.
User avatar
Alan Kirk
Site Admin
Posts: 6606
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: ti to load data from spreadsheets

Post by Alan Kirk »

David Usherwood wrote:Yonks ago I tried using Excel as an ODBC source and it worked. This wasn't with TM1 though.
I played around with that idea yesterday myself just out of curiosity; couldn't get it it to work with a TI. Named ranges, dollar signs after the sheet names, all the usual bumpf; none of the syntaxes flew because the TI "couldn't connect to the database". Also I did notice one MSDN article (didn't keep a reference to it as it seems to be academic now) which stated that it won't ever work with a passworded workbook, even if you supply the password which pretty much negated the OP's plans.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Viet
Posts: 6
Joined: Mon May 19, 2008 8:57 pm
OLAP Product: TM1
Version: 9.4 FP2
Excel Version: 2003
Location: France, Paris
Contact:

Re: ti to load data from spreadsheets

Post by Viet »

Hi there,

Yes TI works well with ODBC on Excel files.

Don't forget to name the table range and provide a header row.

Viet
User avatar
Alan Kirk
Site Admin
Posts: 6606
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: ti to load data from spreadsheets

Post by Alan Kirk »

Viet wrote: Yes TI works well with ODBC on Excel files.

Don't forget to name the table range and provide a header row.
Which version(s) have you done this on? Because that was exactly the configuration that I had when I tested it in 9.0 SP3 and it refused to read the data.

Also, have you tried it with a passworded workbook as per the original question, or only with unpassworded ones?
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Wim Gielis
MVP
Posts: 3120
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: ti to load data from spreadsheets

Post by Wim Gielis »

I tested it on TM1 9.4 MR1, and Excel 2007.

Passworded files cannot be used, it seems.
Best regards,

Wim Gielis

IBM Champion 2024
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
Post Reply