-
Click the Doctor level.
-
Select the value in the Expression field and copy it to Notepad or other temporary location.
-
Select Property and enter PrimaryCarePhysician
Now the Doctor level is based on the bare PrimaryCarePhysician property, which is an OREF and is unique for each doctor.
This ensures that the level does not combine different doctors who happen to have the same name.
This step also ensures that the value is null for patients with no doctor; this means that the cube default null replacement string is used for that member of this level.
-
While the Doctor level is selected, click Add Element.
-
For Enter New Element Name, type DoctorName
-
Click Property.
-
Click OK.
The system adds the property and selects it in the Architect.
-
In the Details Pane, select Expression and paste in the expression you previously copied.
-
Select Use as member names.
This option causes the system to use the value of this property as the name for each member.
-
For Sort members by property value, select asc.
This option causes the system to sort the members in ascending order by the value of this property.