Skip to content

cube.set

Sets the value at an intersection of elements from their respective dimensions within the target cube.

js
cube.set(objectData, name, e1 - eN)
cube.set(objectData, name, e1 - eN)

Parameters

  • objectData - The value to send into the cube.
  • Name - The identifier of the cube
  • e1 - eN - An element for each dimension within the cube which when used, finds a specific intersection

Example

js
cube.set(100, "General Ledger", "Actual", "2014", "600010", "100 - Finance", "No Project", "Amount");
cube.set(100, "General Ledger", "Actual", "2014", "600010", "100 - Finance", "No Project", "Amount");