You can edit a Domain by changing, adding to, and deleting its components.
Important! Be extremely careful when editing Domains that might have been used for reports and Domain Topics. A Domain specifies the data source for the Domain Topics and reports that are based on the Domain. They might fail if the underlying Domain is edited; they will certainly fail if the underlying Domain is deleted. Before proceeding, read the section titled "Maintaining Referential Integrity."
To edit a Domain:
Log in to the Analytics interface as an administrator, and then select View > Repository.
Browse to or search the repository for the Domain. (Typically, you do this by setting the Domain filter.)
Right-click the Domain, and then select Edit from the list of options.
The Domain appears in the Edit Domain dialog.
Make changes, and then click Save to update the Domain.
After modifying a Domain, you must clear your Ad Hoc cache of all queries based on the Domain. This will remove any data that was based on the old instance of your Domain and avoid inconsistencies in new reports.
When editing an existing Domain, it is up to the user to maintain the referential integrity between the items in the Domain and any Domain Topics or reports that have been created from the Domain. Referential integrity means that at the time a Domain Topic or report is opened or run, all the items that it references are still defined in the Domain. If you modify a Domain by removing sets or items, you must be sure that no Domain Topics or reports are based on that item. Even if the underlying tables and columns still exist in the database, the sets and items referenced in the Domain must still exist in the Domain.
Domain items are identified by their IDs and the IDs of the sets in which they are located. Changing the ID of an item or moving it to a different set will also make it unavailable to any Topics and reports that referenced the ID. To change the name of an item or set, edit its label property, not its ID. Moving an item must be treated as deleting it from its current location so it can be added elsewhere.
Any report that references a deleted item will no longer run, nor can it be opened in the Ad Hoc Editor again. A Domain Topic that references a deleted item will cause errors when used in the Ad Hoc Editor. You can, however, open a Domain Topic for editing and remove references to deleted items. However, that only allows new reports to use the Domain Topic, it does not fix the broken reports based on the items deleted from the Domain Topic.
The granularity of referential integrity is at the individual set and item level. This means that changes to sets and items that are not used in a given report or Topic do not affect the report or Topic. For example, if you delete an item used by Topic A but not Topic B, then Topic A will fail and reports based on Topic A that included the item will fail. But Topic B and its reports are unaffected, as are any reports based on Topic A that did not include the deleted item.