"Publish" (export) TM1 cube to SQL server
Posted: Tue Apr 02, 2013 2:55 pm
Hi all,
I had a (to use Analyst terms) Publish working successfully in Tm1 of a two dimensional cube. We were "publishing" it to a SQL server. With past help here, all was working fine. However, it just stopped and what's totally baffling is that nothing has changed. Sigh. Is Tm1 that finnicky?
The background: I have four "master" cubes that we publish to a SQL server. I set all four of these up at the same time using the same logic, code, etc. Three out of the four stopped working. When I set them up, all four worked. We got one of them to work again by going back and reselecting the view. However for the other two, that isn't working.
Here are screenshots of the cube and process to provide some insight:
And here is the code:
Prolog tab:
Data tab:
Epilog tab:
We can insert into the table using SQL Management Studio with the username, etc. So, we know the table is fine. We also wrote a record to the table and ran the process and it truncated the record so we know the Prolog tab is working. We believe we have it narrowed down to the Data tab. But, without a trace feature, it's tough to know 
Again, baffled with why this worked and now just magically has stopped working and why we have two other processes that are just the same (just different cubes) and those work. I have recreated the process and tried a bunch of things, but nothing seems to be working so am reaching out to see if anyone has experience with this.
Thanks a lot!
I had a (to use Analyst terms) Publish working successfully in Tm1 of a two dimensional cube. We were "publishing" it to a SQL server. With past help here, all was working fine. However, it just stopped and what's totally baffling is that nothing has changed. Sigh. Is Tm1 that finnicky?
The background: I have four "master" cubes that we publish to a SQL server. I set all four of these up at the same time using the same logic, code, etc. Three out of the four stopped working. When I set them up, all four worked. We got one of them to work again by going back and reselecting the view. However for the other two, that isn't working.
Here are screenshots of the cube and process to provide some insight:
And here is the code:
Prolog tab:
Code: Select all
ODBCOpen('SERVER', 'username', 'password');
ODBCOutPut('SERVER', Expand ('truncate table databasename.dbo.tablename));
Code: Select all
ODBCOutPut('SERVER',
Expand ('INSERT INTO databasename.dbo.tablename
(
Account ,
Status
)
VALUES
(
''%vAccount%'' ,
''%vStatus%''
) ' ) ) ;
Code: Select all
ODBCClose('SERVER');

Again, baffled with why this worked and now just magically has stopped working and why we have two other processes that are just the same (just different cubes) and those work. I have recreated the process and tried a bunch of things, but nothing seems to be working so am reaching out to see if anyone has experience with this.
Thanks a lot!