Cleansing Exercise

Post Reply
User avatar
LeeTaylor1979
Posts: 63
Joined: Mon Aug 25, 2008 12:53 pm
OLAP Product: IBM Cognos TM1
Version: 10.2.2
Excel Version: 2010

Cleansing Exercise

Post by LeeTaylor1979 »

Hello All.

I am currently having a tidy up ready for the new year.

What I want to do is using a list of Cubes (In Excel) put all the Dimensions used in each of these cubes.

I have found that TABDIM formula should do what i need apart from i have a list of over 100 cubes.

Rather than type in the cube names I am trying to reference cell A1, A2 and so on. eg.

A B
1 AircraftFleetSize =TABDIM("TM1serv:A1"1)
2 AircraftInfo =TABDIM("TM1serv:A2"1)
3 AircraftMaterials =TABDIM("TM1serv:A3"1)

This does not work.

Can anyone point in the right direction so I don't have to type out over 100 TABDIM formulas ?


Regards


Lee
User avatar
Martin Ryan
Site Admin
Posts: 1988
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Cleansing Exercise

Post by Martin Ryan »

You can use this as a starting point. It does the reverse (gives a list of unused dims), but you'll be able to butcher it for your requirements.

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
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: Cleansing Exercise

Post by Mike Cowie »

LeeTaylor1979 wrote: AircraftFleetSize =TABDIM("TM1serv:A1"1)
In order to reference what is in cell A1 the formula should be something like:

Code: Select all

=TABDIM("tm1serv:" & $A1, 1)
(Note I made the reference an absolute column reference in case you copy the formula across columns).

The reference to the dimension index can, of course, also be a cell reference too if you wanted to list 1 - n across columns. Then you could just write one TABDIM formula and copy it down and across.

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!
User avatar
LeeTaylor1979
Posts: 63
Joined: Mon Aug 25, 2008 12:53 pm
OLAP Product: IBM Cognos TM1
Version: 10.2.2
Excel Version: 2010

Re: Cleansing Exercise

Post by LeeTaylor1979 »

Thanks Guys,

I have opted for Mikes suggestion which has worked exactly how I wanted.

Martin I will keep your link though if that ok for future exercises.


Regards

Lee
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: Cleansing Exercise

Post by Steve Vincent »

Lee, take a look at the TM1pedia that Duncan designed. Its a method of documenting a TM1 installation but part of it does exactly what you are looking for, and more besides
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
User avatar
LeeTaylor1979
Posts: 63
Joined: Mon Aug 25, 2008 12:53 pm
OLAP Product: IBM Cognos TM1
Version: 10.2.2
Excel Version: 2010

Re: Cleansing Exercise

Post by LeeTaylor1979 »

Steve I totally forgot about this.

Duncan passed it to me when he left.


Cheers


Lee
Post Reply