apostrophe problem in TM1

Post Reply
sara
Posts: 8
Joined: Fri May 06, 2011 2:36 pm
OLAP Product: OLAP
Version: TM1 9.4
Excel Version: Microsoft 2007

apostrophe problem in TM1

Post by sara »

Hello everybody,

I'm facing a technical problem with COGNOS TM1, i have a dimension that includes an element with apostrophe (i'm using TM1 in french), the problem is when i want to use this element in a rule TM1 doesn't recognise it because the elements are used in the rules with quotes, and TM1 confuses the quote with the apostrophe. here is my rule: ['Chiffre d'affaires (HT)']=['Quantité vendue']*['Prix unitaire'];

I hope i was clear, plz cloud anyone help me any suggestions are welcome.

excuse the spelling mistakes :)
User avatar
Mike Cowie
Site Admin
Posts: 482
Joined: Sun May 11, 2008 7:07 pm
OLAP Product: IBM TM1/PA, SSAS, and more
Version: Anything thru 11.x
Excel Version: 2003 - Office 365
Location: Alabama, USA
Contact:

Re: apostrophe problem in TM1

Post by Mike Cowie »

Hello:

Try escaping the 1 single quote in the element name with 2 single quotes:

Code: Select all

['Chiffre d''affaires (HT)']=['Quantité vendue']*['Prix unitaire'];
This is TM1's escape sequence (2 single quotes together = 1 single quote in a name) so that you can refer to a single quote in the element name and avoid this problem (also works in Turbo Integrator, too).

Hope that helps!

Regards,
Mike
Mike Cowie
QueBIT Consulting, LLC

Are you lost without Print Reports in Planning Analytics for Excel (PAfE)? Get it back today, for free, with Print Reports for IBM Planning Analytics for Excel!
sara
Posts: 8
Joined: Fri May 06, 2011 2:36 pm
OLAP Product: OLAP
Version: TM1 9.4
Excel Version: Microsoft 2007

Re: apostrophe problem in TM1

Post by sara »

thanks a looot for the tip it worked
Post Reply