Page 1 of 1

Change Display Alias based on a Dimension

Posted: Fri Aug 12, 2011 12:45 pm
by fbroggi
I'd like to know if it's possible to change the alias used in a view based on a value selected in another dimension of the same cube as shown in picture attached

Many Thanks
Federico

Re: Change Display Alias based on a Dimension

Posted: Fri Aug 12, 2011 3:01 pm
by mattgoff
ATTRS

Re: Change Display Alias based on a Dimension

Posted: Fri Aug 12, 2011 3:55 pm
by fbroggi
Thanks I know ATTRS function, my question is:
if i select an item (ex: English) in a list (ex: Language) can the account lilst change the alias dimically (ex: from Base attribute to English Attribute)

Re: Change Display Alias based on a Dimension

Posted: Fri Aug 12, 2011 4:20 pm
by mattgoff
=ATTRS("yourserver:yourdimension",$A2,$A$1)

A1 = name of alias
A2, A3, An = base element

I'm almost quoting the documentation here.

Re: Change Display Alias based on a Dimension

Posted: Tue Aug 16, 2011 8:54 am
by fbroggi
Thanks,
but I have to write this on rule or where?

Federico

Re: Change Display Alias based on a Dimension

Posted: Tue Aug 16, 2011 10:21 am
by qml
This is an example of an Excel formula that will work in an Excel worksheet. :roll:

Re: Change Display Alias based on a Dimension

Posted: Tue Aug 16, 2011 2:25 pm
by jstrygner
I am affraid ATTRS is TI and Rules function only.
Use DBRA in worksheet.

Re: Change Display Alias based on a Dimension

Posted: Tue Aug 16, 2011 2:44 pm
by mattgoff
Oops. :?

Re: Change Display Alias based on a Dimension

Posted: Tue Aug 16, 2011 3:04 pm
by fbroggi
Many thanks for all the advice

Federico