Hi Oleksandr, The PARENTAFTER feature only works when you use a dynamic selection of members (not hard-coded dimension members).
i.e. DEP, PARENTAFTER
In environmentShell try this: =EPMDimensionOverride("000","ACCOUNT","ALL,PARENTAFTER")
or
=EPMDimensionOverride("000","ACCOUNT","MEMBERS,PARENTAFTER")
This only works if you have parent members in your hierarchy so for example this does not work because there are no parents in the dynamic selection:
=EPMDimensionOverride("000","ACCOUNT","BAS,PARENTAFTER")
HTH