Repairing views
When something that a view depends on is no longer available, the view tells you that it needs repair. Hypermeter does not show a number that might be wrong. This page explains the causes and how to fix each one.
What "needs repair" means
A view that needs repair shows the notice "This shared view needs repair in", followed by the name of the space.
- The view stays open and readable.
- Charts and KPIs that do not use the missing item keep working.
- Charts and KPIs that use it do not run. They never fall back to a part of the data.
- The view lists each broken reference and its reason.
- Repair fields opens the Fields tab of the authoring workspace.
A view depends on a field when a chart uses it as a measure or a dimension, when a KPI uses it for Top or bottom members, or when a view-local field is built on it.
How to fix a view that needs repair
Read the reason next to each broken reference, then find the cause in this table.
| Cause | What it means | What to do |
|---|---|---|
| A field is hidden by the policy of the space | An owner hid the field in the cube grant of this space. The field still exists in the cube. | Make the field visible again, or take it out of the view. |
| A field was removed from the cube | The cube changed. There is nothing to restore. | Replace the field in the view. |
| The cube is no longer visible to the space | The grant was removed, or the cube is no longer published. Every chart of the view is blocked. | Restore access to the cube. |
| A space-local field is no longer available | The field was deleted, or it no longer works in this space. | Create the field in the space again, or ask the person who manages the fields of the space. If it is gone for good, replace the field in the view. See Working with fields. |
If a field is hidden by space policy
Only an owner of the organization can do this. If you are a member, ask an owner.
- Open the space and select the Access tab.
- Select Edit policy on the grant of the cube that the view uses.
- Make the field visible again and save the policy.
- Open the view again. The notice disappears and the affected charts run.
If a field no longer exists
- Select Repair fields on the view, or select Edit.
- Select Fields to check the fields of the view, or Outline to open the affected chart or KPI.
- In a blocked chart, replace the missing measure or dimension with a field that the cube still has, or remove it.
- For a view-local field that used the missing field, define the calculation again with fields that exist, or delete the field.
If the field was removed because the grain or the structure of the cube changed, another field may not mean the same. Check what the cube offers now before you rebuild. See Publishing and evolving.
If the cube is no longer visible
- Check the Cubes tab and the Access tab of the space to find the cause.
- If the grant was removed, an owner grants the cube to the space again. See Managing space access.
- If the cube is no longer published, ask the person who manages the cube.
- Open the view again when the cube is visible in the space.
Check the repair
Open the view again. When every dependency is available, the notice disappears and the charts run. If a chart still does not run, read its message again: a second item may need repair.
To check that a field is available and returns data, query the cube in Explore.