Why are store codes not showing while clicking on the hierarchy?

Why are store codes not showing while clicking on the hierarchy?

All the store codes may not appear while selecting the hierarchy, if there are ‘Null’ values in DIM_STORE. Remove the ‘Null’ values from DIM_STORE and the problem should be solved.