The CGETNOTE formula is used to retrieve text (or note) based on the hierarchy information passed into the formula. It reads from the specified cube, and must have a minimum of one hierarchy and a maximum of 20. It also allows you to add and edit notes.
CGETNOTE (Datasource, Catalog, Cube, Hier1, Hier2…Hier20)
Specify the Analysis Services server that you want to connect to.
Specify the catalog of cubes on the datasource that you want to perform your query on.
Specify the cube that you want to perform your query on.
Specify the name of a valid member in the cube’s first hierarchy.
Specify the name of a valid member in the cube’s nth hierarchy. Up to 20 hierarchies are allowed to be specified.
To retrieve a value based on the hierarchy information from the specified cube. It is useful when users need to get the value of a particular cell from the specified cube.
While the input of argument Hier1 is compulsory (e.g. at least 1 hierarchy is needed), the other related arguments such as Hier2 … Hier20 are optional. Additionally, these arguments are not necessarily sorted and can be listed in any order. If not being used, these arguments will default to the default member.