You can enter static (non-changing) member names, such as Sales and COGS, directly into the report script. For static member names, use staticMbrDefinition syntax, as described below:
A staticMbrDefinition specifies the member to select.
mbrName [ mbrName ]
mbrName
Dimension or member name of member to specify. When specifying multiple member names, separate them with spaces. Enclose member names in double quotes if they contain spaces or consist of numbers. For example: "Cost of Goods Sold" or "100-10"
A static member definition specifies a database outline member in a report specification. This definition does not automatically reflect changes to the database outline. If you change a member name in the database outline, you must manually update each report script associated with that outline.
Year
Selects the member Year.
Sales "Cost_of_Goods_Sold"
Selects the members Sales and Cost_of_Goods_Sold.