Contact String In TM1

Post Reply
keigo840413
Posts: 15
Joined: Wed Oct 13, 2010 6:09 am
OLAP Product: COGNOS
Version: 9.4
Excel Version: 2003

Contact String In TM1

Post by keigo840413 »

Hi All,
Simple question, how to contact string in the TM1 when writing cube's rule?
User avatar
Michel Zijlema
Site Admin
Posts: 713
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: Contact String In TM1

Post by Michel Zijlema »

Hi,

Rules returning string values need to be prefixed with "S:", so:
[string-area] = S: formula;

Michel
Alan Kirk
Site Admin
Posts: 6667
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: Contact String In TM1

Post by Alan Kirk »

keigo840413 wrote:Hi All,
Simple question, how to contact string in the TM1 when writing cube's rule?
I'm not completely clear what your question is; Michel may have answered it with the general syntax but if you meant to ask how to concatenate (join) strings you use the pipe operator:

Code: Select all

'abc' | 'def'
will yield 'abcdef'.
"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.
keigo840413
Posts: 15
Joined: Wed Oct 13, 2010 6:09 am
OLAP Product: COGNOS
Version: 9.4
Excel Version: 2003

Re: Contact String In TM1

Post by keigo840413 »

thanks alan, this is exactly what i want..
Post Reply