CELL.GETF
You can get formatted values from a cube using the CELL.GETF formula. The formatting is predefined on the server (provider formatting).
Syntax
=CELL.GETF(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... |
Unique name of the element |
[INTERCO].[TOTALPARTNER]
|
Example
Get the formatted value from the Best Practices OLAP Sales cube.
=CELL.GETF("Best Practices OLAP","Sales","[Time].[All
Years].[2008].[Q1_2008]","[Profit].[Gross Margin]")
The gross margin ([Profit].[Gross Margin]
) is
returned for the first quarter of 2008 ([Time].[All
Years].[2008].[Q1_2008
]). The default element is used for all other
dimensions, because no additional elements have been specified for these
dimensions.