Page 1 of 1

Ambiguous error

Posted: Wed Oct 13, 2010 11:44 pm
by Yukiya
Hello,

I could not save a rule due to ambiguous. It has some dimensions (for example, year and staff code, location, etc.), and year and staff code have same element. When I tried to save a rule on Rules Editor with year, TM1 warned as ambiguous of both of SKIPCHECK and FEEDERS - element of year and staff code is 2010.

So, could you kindly tell me how to set a rule with specific dimension.

Thanks and Best Regards,
Yukiya

Re: Ambiguous error

Posted: Wed Oct 13, 2010 11:49 pm
by rkaif
In your rules, you need to mention the element name as per this syntax:

Code: Select all

Dimension_Name:Element_Name
So it would be [Year:'2010'] or [Staff_Code:'2010'] in your case.

Re: Ambiguous error

Posted: Thu Oct 14, 2010 12:42 am
by Yukiya
Dear Rizwan,

Thank you for your great advice.
I could setup a rule.

Yukiya :D

Re: Ambiguous error

Posted: Thu Oct 14, 2010 8:00 am
by jstrygner
One more thing, if your dimension has a space in its name (TM1 allows it, but some of us have best practice not to put them there) you must also put it into apostrophes:
['Dimension with spaces':'Element with or without_them_it_just_does_not_matter'].