dbTalk Databases Forums  

Difference between ...

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Difference between ... in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alex
 
Posts: n/a

Default Difference between ... - 07-21-2004 , 06:25 AM






hi,

go for microsoft olap unleashed. it will discuss in detail
abt all these.

and one more good book is MDX Solutions.

u can know all abt these things in help menu of MDX or
books online.


Quote:
-----Original Message-----
Hi,

what is the difference between set, tuple, level, member?

Are there any good books available about MDX?

Thnx

Stanley
.


Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Difference between ... - 07-21-2004 , 11:56 AM






And another *excellent* source is "Fast Track to MDX" at:
http://search.barnesandnoble.com/boo...SBN=1852336811
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"alex" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
hi,

go for microsoft olap unleashed. it will discuss in detail
abt all these.

and one more good book is MDX Solutions.

u can know all abt these things in help menu of MDX or
books online.


-----Original Message-----
Hi,

what is the difference between set, tuple, level, member?

Are there any good books available about MDX?

Thnx

Stanley
.




Reply With Quote
  #3  
Old   
Olivier Matrat
 
Posts: n/a

Default Re: Difference between ... - 07-21-2004 , 12:03 PM



Hi

Specifically, you can find good stuff online at the following URLs:

http://msdn.microsoft.com/library/de...asics_3md4.asp
and
http://www.microsoft.com/downloads/d...displaylang=en

And to try and put it simple (examples are based on the Foodmart 2000 sample
database):

Members are occurences along the dimension's hierarchies (ex:
[Customers].[Country].[USA], [Time].[1997].[Q1], [Measures].[Unit Sales])
Members can be used in MDX expressions as individual coordinates for the
cubes' cells.
Members are referenced in MDX using a fully-qualified name based on the
dimension and hierarchy they belong to, their ancestors, etc. (notice the
square brackets [] surrounding names).
Members are grouped in levels within the hierarchies.

Levels are groups of individual members with the same granularity (ex: the
[Product].[Product Family] level contains all product families, e.g. the
following members: [Product].[All Products].[Drink], [Product].[All
Products].[Food] and [Product].[All Products].[Non-consumable].
Levels contain members but they are not members themselves (rather
categories of members).
Levels are defined when creating the dimension's hierarchies and cannot be
changed afterwards without breaking the cubes (in general).
Levels can be used in MDX as arguments of functions that deal with
collections (or sets) of members (ex: the .Members function takes a level
name as argument and returns all individual members found in the level).

Sets are basically collections of members of a given dimension/hierarchy
(ex: { Product].[All Products].[Drink], [Product].[All Products].[Food],
[Product].[All Products].[Non-consumable] } is the set of all members found
in the [Product].[Product Family] level ; notice the curly braces {}
surrounding any set expression).
Sets can contain duplicate members as well as members from any level as long
as they come from the same hierarchy.
Sets are typically used in MDX whenever you need to deal with collections of
members in an iterative manner (ex: you use sets on the rows/columns of an
MDX query to display a report; you can also use sets as an argument in an
agregation functions such as Sum()).
Sets can also be more complex and contain tuples instead of members.

Tuples represent the set of coordinates for an dividual cells in a cube.
Tuples are made up of one single member from each dimension/hierarchy in a
cube, including the Measures dimension (ex: ([Account].[All
Account].[Assets],[Category].[All
Category].[Forecast],[Measures].[Amount],[Store].[All
Stores].[USA],[Time].[1997]) defines with no ambiguity a single cell from
the Budget cube ; notice the parens () around each Tuple expression).
Tuples can contain members from any member from any level from any hierarchy
in the cube, in any order, as long as each member comes from a different
herarchy within a given tuple.
Tuples can be complete (when one member exactly is specified for every
single hierarchy in the cube) or partial (when they contain no member for
some hierarchies; in that case the current member is assumed for each
missing hierarchy in order to figure out a complete tuple).
Tuples with the same number of members in the same order can be used instead
of members in Sets definitions.


HTH

Olivier MATRAT

WINSIGHT
Microsoft Gold Certified Partner for Business Intelligence
www.winsight.fr
www.olapwebhouse.com




"Stanley" <Stanley (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

what is the difference between set, tuple, level, member?

Are there any good books available about MDX?

Thnx

Stanley



Reply With Quote
  #4  
Old   
Olivier Matrat
 
Posts: n/a

Default Re: Difference between ... - 07-21-2004 , 12:08 PM



Hi

Specifically, you can find good stuff online at the following URLs:

http://msdn.microsoft.com/library/de...asics_3md4.asp
and
http://www.microsoft.com/downloads/d...displaylang=en

And to try and put it simple (examples are based on the Foodmart 2000 sample
database):

Members are occurences along the dimension's hierarchies (ex:
[Customers].[Country].[USA], [Time].[1997].[Q1], [Measures].[Unit Sales])
Members can be used in MDX expressions as individual coordinates for the
cubes' cells.
Members are referenced in MDX using a fully-qualified name based on the
dimension and hierarchy they belong to, their ancestors, etc. (notice the
square brackets [] surrounding names).
Members are grouped in levels within the hierarchies.

Levels are groups of individual members with the same granularity (ex: the
[Product].[Product Family] level contains all product families, e.g. the
following members: [Product].[All Products].[Drink], [Product].[All
Products].[Food] and [Product].[All Products].[Non-consumable].
Levels contain members but they are not members themselves (rather
categories of members).
Levels are defined when creating the dimension's hierarchies and cannot be
changed afterwards without breaking the cubes (in general).
Levels can be used in MDX as arguments of functions that deal with
collections (or sets) of members (ex: the .Members function takes a level
name as argument and returns all individual members found in the level).

Sets are basically collections of members of a given dimension/hierarchy
(ex: { Product].[All Products].[Drink], [Product].[All Products].[Food],
[Product].[All Products].[Non-consumable] } is the set of all members found
in the [Product].[Product Family] level ; notice the curly braces {}
surrounding any set expression).
Sets can contain duplicate members as well as members from any level as long
as they come from the same hierarchy.
Sets are typically used in MDX whenever you need to deal with collections of
members in an iterative manner (ex: you use sets on the rows/columns of an
MDX query to display a report; you can also use sets as an argument in an
agregation functions such as Sum()).
Sets can also be more complex and contain tuples instead of members.

Tuples represent the set of coordinates for an dividual cells in a cube.
Tuples are made up of one single member from each dimension/hierarchy in a
cube, including the Measures dimension (ex: ([Account].[All
Account].[Assets],[Category].[All
Category].[Forecast],[Measures].[Amount],[Store].[All
Stores].[USA],[Time].[1997]) defines with no ambiguity a single cell from
the Budget cube ; notice the parens () around each Tuple expression).
Tuples can contain members from any member from any level from any hierarchy
in the cube, in any order, as long as each member comes from a different
herarchy within a given tuple.
Tuples can be complete (when one member exactly is specified for every
single hierarchy in the cube) or partial (when they contain no member for
some hierarchies; in that case the current member is assumed for each
missing hierarchy in order to figure out a complete tuple).
Tuples with the same number of members in the same order can be used instead
of members in Sets definitions.


HTH

Olivier MATRAT

WINSIGHT
Microsoft Gold Certified Partner for Business Intelligence
www.winsight.fr
www.olapwebhouse.com




"Stanley" <Stanley (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

what is the difference between set, tuple, level, member?

Are there any good books available about MDX?

Thnx

Stanley



Reply With Quote
  #5  
Old   
Stanley
 
Posts: n/a

Default Re: Difference between ... - 07-28-2004 , 08:06 AM



Thnx

"Olivier Matrat" wrote:

Quote:
Hi

Specifically, you can find good stuff online at the following URLs:

http://msdn.microsoft.com/library/de...asics_3md4.asp
and
http://www.microsoft.com/downloads/d...displaylang=en

And to try and put it simple (examples are based on the Foodmart 2000 sample
database):

Members are occurences along the dimension's hierarchies (ex:
[Customers].[Country].[USA], [Time].[1997].[Q1], [Measures].[Unit Sales])
Members can be used in MDX expressions as individual coordinates for the
cubes' cells.
Members are referenced in MDX using a fully-qualified name based on the
dimension and hierarchy they belong to, their ancestors, etc. (notice the
square brackets [] surrounding names).
Members are grouped in levels within the hierarchies.

Levels are groups of individual members with the same granularity (ex: the
[Product].[Product Family] level contains all product families, e.g. the
following members: [Product].[All Products].[Drink], [Product].[All
Products].[Food] and [Product].[All Products].[Non-consumable].
Levels contain members but they are not members themselves (rather
categories of members).
Levels are defined when creating the dimension's hierarchies and cannot be
changed afterwards without breaking the cubes (in general).
Levels can be used in MDX as arguments of functions that deal with
collections (or sets) of members (ex: the .Members function takes a level
name as argument and returns all individual members found in the level).

Sets are basically collections of members of a given dimension/hierarchy
(ex: { Product].[All Products].[Drink], [Product].[All Products].[Food],
[Product].[All Products].[Non-consumable] } is the set of all members found
in the [Product].[Product Family] level ; notice the curly braces {}
surrounding any set expression).
Sets can contain duplicate members as well as members from any level as long
as they come from the same hierarchy.
Sets are typically used in MDX whenever you need to deal with collections of
members in an iterative manner (ex: you use sets on the rows/columns of an
MDX query to display a report; you can also use sets as an argument in an
agregation functions such as Sum()).
Sets can also be more complex and contain tuples instead of members.

Tuples represent the set of coordinates for an dividual cells in a cube.
Tuples are made up of one single member from each dimension/hierarchy in a
cube, including the Measures dimension (ex: ([Account].[All
Account].[Assets],[Category].[All
Category].[Forecast],[Measures].[Amount],[Store].[All
Stores].[USA],[Time].[1997]) defines with no ambiguity a single cell from
the Budget cube ; notice the parens () around each Tuple expression).
Tuples can contain members from any member from any level from any hierarchy
in the cube, in any order, as long as each member comes from a different
herarchy within a given tuple.
Tuples can be complete (when one member exactly is specified for every
single hierarchy in the cube) or partial (when they contain no member for
some hierarchies; in that case the current member is assumed for each
missing hierarchy in order to figure out a complete tuple).
Tuples with the same number of members in the same order can be used instead
of members in Sets definitions.


HTH

Olivier MATRAT

WINSIGHT
Microsoft Gold Certified Partner for Business Intelligence
www.winsight.fr
www.olapwebhouse.com




"Stanley" <Stanley (AT) discussions (DOT) microsoft.com> wrote in message
news:59B190DE-BDBF-426B-81B4-92084C3DB536 (AT) microsoft (DOT) com...
Hi,

what is the difference between set, tuple, level, member?

Are there any good books available about MDX?

Thnx

Stanley




Reply With Quote
  #6  
Old   
Stanley
 
Posts: n/a

Default RE: Difference between ... - 07-28-2004 , 08:06 AM



thnx

"Jamie" wrote:

Quote:
Hi Stanley,
In short....

-A member is an atomic item that you can measure data against (e.g. Customer "John Doe")

-A dimension is a collection of all members that form a specific aspect of your enterprise (e.g. Customers). A dimension is represented as a hierachy.

-A level is a level of a hierachy. Each hierarchy contains 1 or more levels. (e.g. Customers hierarchy may be seperated into Country/Region/City/Customer Name levels) Each level contains members

-A tuple contains a member from one or more dimensions (e.g. ("John Doe", "Widget1") is a tuple that refers to any information pertaining to John Doe and a product called "Widget1".

-A set contains 1 or more tuples.

HTH

Regards
Jamie


"Stanley" wrote:

Hi,

what is the difference between set, tuple, level, member?

Are there any good books available about MDX?

Thnx

Stanley

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.