Hi Arnold,
generally, there are three EPM commands related to the context, which have different functionalities you should consider.
In your case, you are using the EPMCONTEXTMEMBER() command, which is in my opinion for your requirements not suitable. Could you please provide the design of you report? If your EPMCONTEXTMEMBER() formula refers to an element not included in your columns or rows, then you should really consider to replace this formula by using EPMOLAPMEMBERO(). This formula always refreshs once the context has changed.
The EPMCONTEXTMEMBER() formula is usually used to overload the context.
Hope, this will help you,
Karsten