Thanks , very helpful , finaly is working .
its bit confusing for me the logic because we have to put the same dimension even in the second clause.
and I don't have the CATEGBASE in the dimension CATEGORY ??
how this system accept this formula without error message to say propperty not defined.
EPMMemberProperty(, EPMDIM_CURRENT_MEMBER(CATEGORY), "CATEGBS"))