AsciiOutput with Pipe Delimiter

Yesterday I needed to export some data from TM1 for loading into SQL Server. I know I can connect directly and publish from TM1 to SQL Server, but I just wanted to use the simple method – create a text file and load it up. Problem with Comma Separated Values My problem was that some of the columns contained text that had random commas, so a regular AsciiOutput wouldn’t work … Continue Reading

This entry was posted in TI Coding and tagged ASCIIOUTPUT, delimiter, SQL Server. Bookmark the permalink. | Tagged ASCIIOUTPUT, delimiter, SQL Server | Leave a comment

Integrating TM1 with Cognos Workspace

One of the really cool features of the integration between TM1 and Cognos is the ability to import views of Perspectives worksheets from TM1 into Cognos BI where they can then be used for both analyses and for write-back. Imagine you had a simple variance analysis TM1 Perspectives form. GL accounts, Actuals for this month and last month, variance calculations for both value and percentage and an explanation column for … Continue Reading

This entry was posted in Administration, BI Admin, Cognos BI and tagged Atom, Cognos Workspace. Bookmark the permalink. | Tagged Atom, Cognos Workspace | 1 Comment

TM1/Cognos Security Integration Gremlin

Weird. That’s all I can say. We have been doing a significant project with complex calculations done in TM1 and a front end with Cognos BI reports. We now have the integration working perfectly with TM1 cubes performing brilliantly in BI, TM1 cubes able to have data entered into them from Cognos Workspace and security integrated from multiple AD servers via Cognos groups and roles to both Cognos and TM1. Integrated … Continue Reading

This entry was posted in Administration, Cognos BI, Errors, Security, TM1 Admin and tagged active directory, Cognos, Security. Bookmark the permalink. | Tagged active directory, Cognos, Security | Leave a comment

How to Rename a TM1 Model

Renaming a TM1 model is relatively easy. To change the name of a TM1 model (or instance or server name) do the following: Open tm1s.cfg for the model concerned. Find “ServerName” Edit the value after the equals sign to reflect the new model name Save tm1s.cfg Open Cognos Configuration for TM1 Change the name of the TM1 Server Save Cognos Configuration Start the TM1 Server (right click, start) in Cognos Configuration … Continue Reading

This entry was posted in Cognos BI, TM1 Administration and tagged Cognos, Cognos TM1, IBM Cognos, TM1 Server, Windows Service. Bookmark the permalink. | Tagged Cognos, Cognos TM1, IBM Cognos, TM1 Server, Windows Service | Leave a comment

How do Delete a TM1 Service

Sometimes we need to delete a TM1 service. After changing the name for a TM1 model, for example, we may left with a Windows Service still existing for the old model. This post tells you how to delete a TM1 service that is no longer required. If you are looking for instruction on how to rename a TM1 model, please go to this post. To remove a Windows Service for … Continue Reading

This entry was posted in TM1 Administration and tagged NT Service, TM1 Server, Windows Service. Bookmark the permalink. | Tagged NT Service, TM1 Server, Windows Service | 1 Comment

What is Skipcheck in TM1?

Skipcheck in TM1 forces the TM1 engine to “skip the checking” of empty cells in a cube. So if you had 30 days in a month and data in only 9 of them, only 9 cells would be aggregated to get the total for the month. With the the skipping of blank cells disabled, all 30 cells would be checked to get the month total – three times more inefficient. … Continue Reading

This entry was posted in Feeders, Rule Functions and tagged skipcheck. Bookmark the permalink. | Tagged skipcheck | 1 Comment

AttrDelete TM1 Function: Syntax and Use

To delete an attribute in TM1 or Cognos Express during the execution of a Turbo Integrator process we use the AttrDelete function. Syntax of AttrDelete The syntax is: AttrDelete ( DimName, AttrName); where: DimName – is the name of the dimension that you want to delete an attribute AttrName – is the name of the new attribute you are deleting Example DimName = ‘Employees’; AttrDelete ( DimName, ‘Status’ ); Here we have defined a variable called DimName … Continue Reading

This entry was posted in TI Functions and tagged AttrDelete. Bookmark the permalink. | Tagged AttrDelete | 1 Comment

AttrInsert TM1 Function: Use and Sytax

Sometimes we want to create a new attribute in TM1 dynamically during the execution of a TI process. This function allows us to do that and create either a string, a numeric or an alias attribute. Syntax of AttrInsert The syntax is: AttrInsert ( DimName, PrevAttr, AttrName, Type ); where: DimName – is the name of the dimension that you want to create an attribute on PrevAttr – is the name … Continue Reading

This entry was posted in TI Functions and tagged AttrInsert. Bookmark the permalink. | Tagged AttrInsert | 1 Comment

Concatenating Data in TM1 – How to Concatenate Variables in a TI or Rule

I was asked the other day how to concatenate some information in TM1. Joining two text fields is really easy!  Just use the pipe ( ” | ” ) between two variables and they will joined into one. There is nothing like the Excel Concatenate function in TM1. How to Concatenate Let’s say you have variable 1, sVariable1 = ‘Exploring’; and sVariable2 = ‘TM1’; then using sOutput = sVariable1 | sVariable2; will … Continue Reading

This entry was posted in Rule Functions, TI Functions and tagged concatenate, concatenation. Bookmark the permalink. | Tagged concatenate, concatenation | Leave a comment

The Pick List – How to Create and Use Picklists in TM1

Picklists in TM1 are a great way for you to ensure that users only “enter” (or in this case select) a value from a standard list of options. For example, you might want a user to enter a three character month like Jan, Feb, Mar etc. You could design your cube to have a text element and then ask users to enter periods in that format. This will work perfectly … Continue Reading

This entry was posted in Attributes, Cubes, Dimensions, MDX and tagged Picklists, TM1. Bookmark the permalink. | Tagged Picklists, TM1 | Leave a comment