Export (0) Print
Expand All

Updating Cells (XMLA)

You can use the UpdateCells command to change the value of one or more cells in a cube enabled for cube writeback. Microsoft SQL Server 2005 Analysis Services (SSAS) stores the updated information in a separate writeback table for each partition that contains cells to be updated.

ms187197.note(en-US,SQL.90).gifNote:
The UpdateCells command does not support allocations during cube writeback. To use allocated writeback, you should use the Statement command to send a Multidimensional Expressions (MDX) UPDATE statement. For more information, see UPDATE CUBE Statement (MDX).

The Cell property of the UpdateCells command contains the cells to be updated. You identify each cell in the Cell property using that cell's ordinal number. Conceptually, Analysis Services numbers cells in a cube as if the cube were a p-dimensional array, where p is the number of axes. Cells are addressed in row-major order. The following illustration shows the formula for calculating the ordinal number of a cell.

Formula to calculate the cell ordinal position

Once you know a cell's ordinal number, you can indicate the intended value of the cell in the Value property of the Cell property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft