Home > Archive > MS SQL Data Warehousing > September 2005 > Calculated member and Calculated Cells









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Calculated member and Calculated Cells
Kam

2005-09-13, 3:23 am

What is the different between calcualted member and calculated cells?

Is there any guildeline in using calculated member and calculated cells?
Darren Gosbell

2005-09-16, 3:23 am

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

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

In article <66CA27BC-9E0B-4383-BF63- 1B2082A7DFAA@microso
ft.com>,
Kam@discussions.microsoft.com says...
> What is the different between calcualted member and calculated cells?
>
> Is there any guildeline in using calculated member and calculated cells?
>


Kam

2005-09-16, 3:23 am

Do you have any simple real live example to help me to understand when I
should use Calculated Cells?

"Darren Gosbell" wrote:

> 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
>
> --
> Regards
> Darren Gosbell [MCSD]
> < dgosbell_at_yahoo_do
t_com>
> Blog: http://www.geekswithblogs.net/darrengosbell
>
> In article <66CA27BC-9E0B-4383-BF63- 1B2082A7DFAA@microso
ft.com>,
> Kam@discussions.microsoft.com says...
>
>

Darren Gosbell

2005-09-17, 7:23 am

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.

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

In article <43339F67-CA70-4679-9F42- 9B076A94EDEE@microso
ft.com>,
Kam@discussions.microsoft.com says...
> Do you have any simple real live example to help me to understand when I
> should use Calculated Cells?
>
> "Darren Gosbell" wrote:
>
>


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com