> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube.md).

# Edit a cube

A cube contains aggregated data from a semantic model's physical connection. You can rename a cube, delete it, or change its description, visibility, and availability. You can also edit elements in the cube that control the data that is aggregated and quantified in the cube.

For instructions on editing a cube or its elements, see the following topics: &#x20;

* [Rename a cube](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/rename-a-cube.md)

  You can change the name of a cube to a new, unique name.&#x20;
* [Edit cube metadata](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/edit-cube-metadata.md)

  You can edit cube metadata that describes the cube and controls its visibility and availability.&#x20;
* [Edit a simple measure in a cube](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/edit-a-simple-measure-in-a-cube.md)

  Edit a simple measure to change the properties that describe the measure, control its visibility and availability, or define which data is pulled from the cube’s fact table.&#x20;
* [Edit a calculated measure in a cube](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/edit-a-calculated-measure-in-a-cube.md)

  Edit a calculated measure to change the properties that describe the measure, control its visibility and availability, and specify the formula and parent used to calculate the measure.&#x20;
* [Edit a measure created with SQL in a cube](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/edit-a-measure-created-with-sql-in-a-cube.md)

  Edit a measure created with SQL to change the properties that describe the measure; control its visibility and availability; and specify the SQL expression, format, and default aggregation used to calculate the measure.&#x20;
* [Edit a dimension in a cube](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/edit-a-dimension-in-a-cube.md)

  Edit a dimension, its hierarchies, and the levels of those hierarchies, to change the properties that describe the dimension and control its visibility and availability. Dimensions describe aggregated data in a cube so that the data can be grouped for analysis.&#x20;
* [Add a new hierarchy to a dimension](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/add-a-new-hierarchy-to-a-dimension.md)

  Add new hierarchies to a dimension when you need to organize data in the dimension more granularly.&#x20;
* [Add a new level to a hierarchy](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/add-a-new-level-to-a-hierarchy.md)

  Add new levels to a hierarchy of a dimension when you need to organize data in the hierarchy more granularly.&#x20;
* [Edit degenerate dimensions](/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube/edit-degenerate-dimensions.md)

  Edit a degenerate dimension, its hierarchies, and the levels of those hierarchies, to change the properties that describe the dimension and control its visibility and availability. Degenerate dimensions use only information in the cube's fact table to describe aggregated data so that the data can be grouped for analysis.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pentaho.com/pba/semantic-model-editor/editing-a-semantic-model/edit-a-cube.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
