DIMIX in v10.1.1 not working with Alias

Post Reply
LoganNSE
Posts: 22
Joined: Fri Nov 18, 2011 10:19 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2003 2007

DIMIX in v10.1.1 not working with Alias

Post by LoganNSE »

Hi,

We recently upgraded from TM1 v9.5.2 to v10.1.1 along with a lot of TM1 Web excel files. DIMIX and DIMNM are used extensively to get the dimensional element from the Alias element name and it worked perfectly fine in v9.5.2

However DIMIX is not working in v10.1.1 when used as said in below documentation DIMIX(dimension, alias element name) - am i missing something or is this a bug?
eg. DIMIX("Location", "United States of America") -> should return 5 (like in v9.5.2) however returning 0 always
Location - Dimension
United States of America - Dimension alias name for USA element

http://publib.boulder.ibm.com/infocente ... _wrk_dimix

Thanks & Regards,
Logan
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: DIMIX in v10.1.1 not working with Alias

Post by declanr »

Dimix still works for me in 10.1.1.

How are you getting to your alias? Is it just a subsetelement in an active form? Is it typed in somewhere? Is it the result of a DBRW?

Are you seeing this in both excel (through perspectives) and when the sheet is uploaded to the web... or just one or the other?
Declan Rodger
declanr
MVP
Posts: 1828
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: DIMIX in v10.1.1 not working with Alias

Post by declanr »

LoganNSE wrote:DIMIX("Location", "United States of America")
Just relooked at your comment your problem could be that it should be:

Dimix ( "ServerName:Location","United States of America")
Declan Rodger
LoganNSE
Posts: 22
Joined: Fri Nov 18, 2011 10:19 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2003 2007

Re: DIMIX in v10.1.1 not working with Alias

Post by LoganNSE »

Rodger,

TM1RPTROW with MDX is used to get a list of alias element names in specific order and used DIMNM(.., DIMIX(..)) to get the actual dimension element name.

It doesn't work in both Excel perspectives and TM1Web - just returned empty. I tried hard-coding DIMIX with alias element name in excel perspectives, it returned 0 and when used with element name, I got the correct index.

Yes, I used DIMIX("ServerName:Location","United States of America") with ServerName.

Thanks.
User avatar
Steve Rowe
Site Admin
Posts: 2456
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: DIMIX in v10.1.1 not working with Alias

Post by Steve Rowe »

Just rule out problems in the other "direction", did you check that your aliases were preserved through the upgrade?
Technical Director
www.infocat.co.uk
LoganNSE
Posts: 22
Joined: Fri Nov 18, 2011 10:19 am
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2003 2007

Re: DIMIX in v10.1.1 not working with Alias

Post by LoganNSE »

Steve,

Yes, Alias is present and I manually checked.

I remodeled the web sheet with modified MDX to retrieve the child items sorted in order to workaround this and it is working fine without using Alias's in TM1RPTROW.
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: DIMIX in v10.1.1 not working with Alias

Post by rmackenzie »

It's worth checking your message log file to see if there are any errors on start-up. A clash (i.e. duplicate values) between alias values on different elements in different dimensions should cause a log error on start-up but the server will appear to have loaded without a problem. Where you have large dimensions automated from an upstream system this can happen. Without checking the log you might not find out... until you start getting weird problems with aliases in both active forms and standard slices. I'd rate this as having a higher chance than fix-pack weirdness as being root cause for your issue.
Robin Mackenzie
Post Reply