The difference between DIMNM and DIMIX

Post Reply
ChauBSD
Posts: 55
Joined: Wed Jun 27, 2012 3:22 am
OLAP Product: TM1
Version: 10.2
Excel Version: 2010
Contact:

The difference between DIMNM and DIMIX

Post by ChauBSD »

Hi all

I starting cognos Tm1 version 10.1. I don't understand the difference between DIMNM and DIMIX.

Thanks all
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

Re: The difference between DIMNM and DIMIX

Post by EvgenyT »

DIMIX returns the index number of an element within a dimension.

e.g. DIMIX('Region','Brazil') returns 1 (or whatever the index of Brazil in the dimension Region is)

DIMNM returns the element of a dimension that corresponds to the index argument.

e.g. DIMNM('Region',1') returns Brazil (or whatever the element of the dimension Region corresponds to the index # of 1)

Does it make sense?

P.S. combined these two functions can achieve powerful results in rules and ti's

Thanks

ET
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: The difference between DIMNM and DIMIX

Post by jim wood »

These 2 functions and many others are covered in the manuals that come with the installation of TM1. While I know it's a pain I would highly recommend going through the user guide as it will help fill in gaps like this,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
EvgenyT
Community Contributor
Posts: 324
Joined: Mon Jul 02, 2012 9:39 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: 2016
Location: Sydney, Australia

Re: The difference between DIMNM and DIMIX

Post by EvgenyT »

I should have suggested it first before providing examples :lol: :lol: :lol: :lol: :roll: :roll:
Post Reply