Exclamation mark in the Rules

Post Reply
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

Exclamation mark in the Rules

Post by BariAbdul »

Hi All,Rules guide defines the exclamation mark used in the rules as
"The exclamation point character is used as part of the !dimension argument in the rules DB function
and should not be used in object names that will be used in rules.
DB('MarketExchange',!market,!date)"

It is bit vague,what circumstances and when we use exclamation.Appreciate if someone explains with practical example.Thanks
"You Never Fail Until You Stop Trying......"
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Exclamation mark in the Rules

Post by tomok »

You need to read the documentation. This is found in the Developer Guide, in the chapter entitled Advanced Calculations for Business Data .
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Exclamation mark in the Rules

Post by Martin Ryan »

From your prior posts it would appear that you are a consultant charging for your TM1 services. The issue you are raising here is at a level of difficulty that a paid consultant should be able to resolve it without outside help. Your question would be better directed to people within your organisation who are there to help you develop your skills. Alternatively you might ask your employer to put you on an IBM or IBM Partner training course.

If the assumption that you are a consultant/contractor is incorrect, please make that known. Forum members are generally more willing to support basic questions from end users than from those who charge for their TM1 knowledge.
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Danielle
Posts: 3
Joined: Mon May 11, 2015 12:13 am
OLAP Product: Cognos
Version: 10.2.2.0
Excel Version: 2010
Location: Rowville, Victoria, Australia

Re: Exclamation mark in the Rules

Post by Danielle »

Hi,
I actually have the same question as mentioned in this thread.

I am a business analyst working within a corporation and am now to TM1. I am trying to workout what the ! means when used in example like

attr(dimensions, !dimension, element)

TIA

Danielle
lotsaram
MVP
Posts: 3704
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Exclamation mark in the Rules

Post by lotsaram »

Danielle wrote:Hi,
I actually have the same question as mentioned in this thread.

I am a business analyst working within a corporation and am now to TM1. I am trying to workout what the ! means when used in example like

attr(dimensions, !dimension, element)

TIA

Danielle
The !dimension notation denotes a relative reference. Meaning wherever the rule is evaluated in the cube the address on that dimension will be "looked up" relative to the location of the cell. To put it in Excel terms if a reference in a formula is "A1" as you drag it down 1 row it changes to "A2", if you drag from there across 1 column it changes to "B2", etc. etc. If the cell location was fixed as "$A$1" then it stays static and always points to A1. In TM1 a fixed reference is always via name e.g. 'ElementX' and the dynamic reference is with !

Also as per advice given above, read the user and developer guide. It will save you a lot of time in the long run.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
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: Exclamation mark in the Rules

Post by Alan Kirk »

Danielle wrote:I actually have the same question as mentioned in this thread.

I am a business analyst working within a corporation and am now to TM1. I am trying to workout what the ! means when used in example like

attr(dimensions, !dimension, element)
As mentioned above the Rules Guide is the place to fund the answer to this, however this thread may prove enlightening. The use of the exclamation mark in attribute functions means the same as it does in DB functions (or indeed any functions which take an element name as an argument).
"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.
Post Reply