How to create Attributes using Dimension worksheets.

Post Reply
Radhika
Posts: 97
Joined: Mon Sep 27, 2010 6:49 am
OLAP Product: IBM Cognos TM1
Version: v9.4.1
Excel Version: Microsoft Excel 2003

How to create Attributes using Dimension worksheets.

Post by Radhika »

Hi All,

I am using Dimesnion Worksheets to create dimensions.
Can we create Attributes using Dimension worksheets. If yes, request you to let me know the process.

TM1 Version: 9.5.1, OS: Windows 2003, Excel Edition: 2003.

Thanks & Regards,
Radhika
User avatar
Steve Vincent
Site Admin
Posts: 1054
Joined: Mon May 12, 2008 8:33 am
OLAP Product: TM1
Version: 10.2.2 FP1
Excel Version: 2010
Location: UK

Re: How to create Attributes using Dimension worksheets.

Post by Steve Vincent »

If they are only ever created or edited via the XDI then use any column after C to add DBRA formula. If at any point a dim is edited in the server explorer and the user chooses to save over the XDI, the other columns in the XDI will be wiped out.
If this were a dictatorship, it would be a heck of a lot easier, just so long as I'm the dictator.
Production: Planning Analytics 64 bit 2.0.5, Windows 2016 Server. Excel 2016, IE11 for t'internet
Gabor
MVP
Posts: 170
Joined: Fri Dec 10, 2010 4:07 pm
OLAP Product: TM1
Version: [2.x ...] 11.x / PAL 2.1.13
Excel Version: Excel 2016-2021-365
Location: Germany

Re: How to create Attributes using Dimension worksheets.

Post by Gabor »

Yes, this is possible but not officially supported as far as I know, so the usage might cause other trouble, but I am not aware of it.
I use this from time to time instead writing a TI and loop through a list of attribute elements to edit larger attribute dimensions.

Let's say you have a dimension test.dim with respective attribute dimension }elementattributes_test.dim.
If you create a file }elementattributes_test.xdi you can use this to edit attribute elements.
N in col A creates numeric elements as known from other dimension worksheets, letter A creates an alias attribute and G (instead S) comes back with a text attribute.

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

Re: How to create Attributes using Dimension worksheets.

Post by lotsaram »

A simpler and less risky approach to creating an }ElementAttributes XDI would be to use an action button to run a generic process to insert a dimension attribute. That way the dimension can be edited entirely from within Excel.

For columns D onwards you can use something like DINNM(DIMIX()) combination with COLUNM()-3 to return attribute values which will automatically update as new attributes are added.
Radhika
Posts: 97
Joined: Mon Sep 27, 2010 6:49 am
OLAP Product: IBM Cognos TM1
Version: v9.4.1
Excel Version: Microsoft Excel 2003

Re: How to create Attributes using Dimension worksheets.

Post by Radhika »

Hi All,

Thank you for the response and approach.

Thannks,
Radhika
Post Reply