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 / September 2005

Tip: Looking for answers? Try searching our database.

Calculated member and Calculated Cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kam - 13 Sep 2005 05:46 GMT
What is the different between calcualted member and calculated cells?

Is there any guildeline in using calculated member and calculated cells?
Darren Gosbell - 16 Sep 2005 05:11 GMT
Calculated Members are simply formula that calculate values that do not
already exist in the cube. They do not take up any disk space as they
are calculated on the fly. A simple example would be if you had and
[income] and an [expenses] measure you could calculate profit by
subtracting expenses from income.

Nearly every cube will have some Calculated members.

Calculated cells on the other hand you do not see all that often. I
usually think of them as conditional overrides. Based on a subset of the
members from any of the dimensions in your cube and an optional
conditional statement, you can define an MDX expression that returns a
value which overrides the value that is actually stored in the cube.

HTH

Signature

Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell

> What is the different between calcualted member and calculated cells?
>
> Is there any guildeline in using calculated member and calculated cells?
Kam - 16 Sep 2005 05:56 GMT
Do you have any simple real live example to help me to understand when I
should use Calculated Cells?

> Calculated Members are simply formula that calculate values that do not
> already exist in the cube. They do not take up any disk space as they
[quoted text clipped - 15 lines]
> >
> > Is there any guildeline in using calculated member and calculated cells?
Darren Gosbell - 17 Sep 2005 12:41 GMT
I used it once in an accounting situation.

The cube had one base measure that held the value of each of the
accounts. In the first month of the year there was an account called
"Retained Earnings" which was mean to display the net profit (or loss)
from the prior year. I used a Calculated Cell to override the measures
value when the user was looking at the retained earnings account member
for the first month in the year.

I could have achieved the same thing through creating a calculated
measure with an iif statement. (you can even set the base measure to
being not visible if you want)

But I can't think off the top of my head of any situations where
calculated cells could do something that could not be done using a
calculated member.

There was a thread running in the microsoft.public.sqlserver.olap
newsgroup called "Calculated Member solution (Dave, Deepak)" which might
give you another example.

Signature

Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell

> Do you have any simple real live example to help me to understand when I
> should use Calculated Cells?
[quoted text clipped - 18 lines]
> > >
> > > Is there any guildeline in using calculated member and calculated cells?
 
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.