Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Data Warehousing / March 2006

Tip: Looking for answers? Try searching our database.

using Max on analysis manager

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy Goldhammer - 06 Mar 2006 14:20 GMT
Hello there

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

IS there way to do this?
Jéjé - 08 Mar 2006 01:47 GMT
try a formula like this:

max(customers.members, measures.sales)

return the max of sales value of your customers.

> Hello there
>
> I would like to use the max function on cacluated Member.
>
> IS there way to do this?
Roy Goldhammer - 08 Mar 2006 07:47 GMT
Thank you.

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

> try a formula like this:
>
[quoted text clipped - 7 lines]
>>
>> IS there way to do this?
Jéjé - 09 Mar 2006 00:08 GMT
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

> Thank you.
>
[quoted text clipped - 11 lines]
>>>
>>> IS there way to do this?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.