Multiple CSV Sources data Load

Post Reply
DPTM1Guy
Posts: 4
Joined: Tue Mar 27, 2012 6:37 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2008

Multiple CSV Sources data Load

Post by DPTM1Guy »

Hi All,

I am having 3-4 .csv as source files and want to load all of them into a single cube using single TI process(without merging as single flat file)
Is it possible?

Regards,
DP
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: Multiple CSV Sources data Load

Post by BariAbdul »

I am afraid,You can't do it within one TI unless it is master TI calling other processes by ExecuteProcess have it as chore,Please see below post:
http://www.tm1forum.com/viewtopic.php?f=3&t=5984
http://www.tm1forum.com/viewtopic.php?f=3&t=8381 Thanks
Last edited by BariAbdul on Sun May 31, 2015 12:38 pm, edited 1 time in total.
"You Never Fail Until You Stop Trying......"
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Multiple CSV Sources data Load

Post by declanr »

As long as the files are in the same format you can use the same TI to load them; just use the datasource functions to specify which file to use at run time.

You can either use a master process that passes the file name each time or call the process itself from its own epilog just passing the "next" file name; if all files have the same prefix you ca use the wildcard search function in the given folder to just keep finding the next one until you've got them all.

Edit - remember if there is a zero out etc you may want to wrap it in an if statement so it only zeros on the first run.
Declan Rodger
DPTM1Guy
Posts: 4
Joined: Tue Mar 27, 2012 6:37 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2008

Re: Multiple CSV Sources data Load

Post by DPTM1Guy »

Thanks for the quick response Bari :-)
Regards, DP
DPTM1Guy
Posts: 4
Joined: Tue Mar 27, 2012 6:37 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2008

Re: Multiple CSV Sources data Load

Post by DPTM1Guy »

Thanks Declan.

Regards, DP
Post Reply