all groups > sql server data warehouse > march 2006 >
You're in the

sql server data warehouse

group:

using Max on analysis manager


using Max on analysis manager Roy Goldhammer
3/6/2006 4:20:34 PM
sql server data warehouse: Hello there

I would like to use the max function on cacluated Member.

IS there way to do this?

Re: using Max on analysis manager Jéjé
3/7/2006 8:47:15 PM
try a formula like this:

max(customers.members, measures.sales)

return the max of sales value of your customers.

[quoted text, click to view]

Re: using Max on analysis manager Roy Goldhammer
3/8/2006 12:00:00 AM
Thank you.

But is there a way to not include the All on the part of the max?

[quoted text, click to view]

Re: using Max on analysis manager Jéjé
3/8/2006 7:08:13 PM
you talk about the "all member"?

yes, using AS2005: Dimension.Attribute.Attribute.members returns only the
members (not the all members)
or Dimension.Hierarchy.level.members

using AS2000: Dimension.[All member name].children
or
descendants(Dimension.currentmember, Dimension.Level)
or
descendants(Dimension.[All member name], Dimension.Level)

I don't remember if AS2000 support the dimension.level.members formula ;-)
sorry, my mind switch to 2005 :-P

[quoted text, click to view]

AddThis Social Bookmark Button