Analysis Services will automatically create the parent child dimension for you when you put the table through the wizard. You just point it to your key column and your parent key column and it does the rest for you. You can also checkout the adventureworks completed cube sample to see how they did the employee dimension.