CELL.GET
Get values from a cube using CELL.GET.
Syntax
=CELL.GET(Alias,Cube,Memb 1,Memb 2, ...,)
Arguments
| Argument | Description | Example |
|---|---|---|
| Alias | Name of the database alias | Best Practices OLAP |
| Cube | Name of the cube | [Sales] |
| Memb 1,
Memb 2... |
Element name | [INTERCO].[TOTALPARTNER],
[Product].[s7000/165], [2008] |
Example
To get the value from the Direct Sales cube of AdventureWorks:
=CELL.GET("AdventureWorks","Direct Sales","[Fiscal].[Fiscal
Quarter].&[2008]&[4]","[Measures].[Internet Gross Profit]")
The profit ([Measures].[Internet Gross Profit]) is
returned for the fourth quarter of 2008 ([Fiscal].[Fiscal
Quarter].&[2008]&[4]). The default element is used for all
other dimensions because no additional elements have been specified for these
dimensions.