Set Min value

Post Reply
BradfordElaine
Posts: 2
Joined: Wed May 25, 2011 9:35 am
OLAP Product: COGNOS
Version: 9.0.2
Excel Version: 2007

Set Min value

Post by BradfordElaine »

Hi all,

Is there any way to set min value for cell?

Thanks
kpk
MVP
Posts: 214
Joined: Tue Nov 11, 2008 11:57 pm
OLAP Product: TM1, CX
Version: TM1 7x 8x 9x 10x CX 9.5 10.1
Excel Version: XP 2003 2007 2010
Location: Hungary

Re: Set Min value

Post by kpk »

Have you tried the Validation feature of Excel?
Best Regards,
Peter
Alan Kirk
Site Admin
Posts: 6647
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: Set Min value

Post by Alan Kirk »

BradfordElaine wrote:Hi all,

Is there any way to set min value for cell?
Peter's given you one way, but you need to be aware that it will only work if the entry mode is Excel. (In addition to which data validation is tissue-paper weak, and can be obliterated by simply pasting a value over the top of the cell which had validation on it.) It won't limit what users can enter directly into the cube via, say, Cube Viewer. (Or even a home-grown DBS formula.)

Within a TM1 cube itself, however, there is no way to limit the value range of an entry into a cell. It's not like an RDBMS where you can put constraints on a field. The only way that you can do it indirectly... and in most cases this isn't worth the effort... is to have two cells, an input cell, and a rules-calculated cell which is used for reporting. In the latter, you could have the rule be (say) If (Input Cell Value <0, 0, Input Cell Value). It would be rare for that to be worth the effort, though.
"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.
BradfordElaine
Posts: 2
Joined: Wed May 25, 2011 9:35 am
OLAP Product: COGNOS
Version: 9.0.2
Excel Version: 2007

Re: Set Min value

Post by BradfordElaine »

Hi all,

Thanks for your reply..
Hope in the future, in the newer version, there is a built in function to validate the data..
Sigh.. need to find a reason to push the user to use Excel instead

but thanks everyone! =)
User avatar
Martin Ryan
Site Admin
Posts: 1989
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Set Min value

Post by Martin Ryan »

There is the picklist option, but it will only work with a discrete set of data (e.g. "1-10", but not "greater than 0"). You also need to be on 9.5.1 (I think) or higher.

If it's of interest take a look in the Developer Guide.

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