Maintain Parent-Child Hierarchies Based on Relational Tables
For parent-child hierarchies based on relational tables, you must ensure that the data in the parent-child relationship table accurately reflects the inter-member relationships in the dimension.
If you wrote scripts to create and populate the parent-child relationship table, you must run these scripts, adapting them to guarantee the integrity of the parent-child relationships in the hierarchy. You should add the Populate script to your extract-transform-load (ETL) process so that the script runs after the dimension table is updated. For more information on scripts, see Generate Scripts to Create a Parent-Child Relationship Table.