WriteComment
Writes a cell note defined by the specified tuple and returns the tuple. This function can be used in the same way to delete a cell note.
Syntax
«Tuple1» WriteComment(«Tuple2», «String Expression» | Null)
This table describes the parameters:
Parameters | Description |
---|---|
«Tuple1» |
This function returns the target cell as a tuple. |
«Tuple2»
|
The target cell's coordinate as a tuple. The dimensionality of this tuple must be equal to the number of dimensions in the cube. |
«String Expression» | Null
|
The cell note as a string. If it is Null, the cell note is deleted. |
Example 1
SELECT FROM [DCS_Planning] WHERE WriteComment(([Units], [01_2017], [AS600/175]), "Cell note")
Example 2
SELECT FROM [DCS_Planning] WHERE WriteComment(([Units], [01_2017], [AS600/175]), Null)