> 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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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](https://docs.pentaho.com/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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
