If you use only EPMretrievedata then you don't have EPM report - then you can't use local members!
You have to use ordinary Excel formulas.
What is the reason to use EPMretrievedata? It's very slow and can be replaced by static EPM report where you can use local members.
B.R. Vadim