Member expansion on the "Remove" Function Alternative
Hello Community,
I'm writing a rule to copy data from one scenario to another using api.data.calculate.
However, I would like to exclude some accounts from being copied. Something like the following:
api.Data.Calculate("V#YTD:S#ACTUAL=RemoveZeros(V#YTD:S#ACTUAL_TEST)","A#Root.Base.remove(A#CAPEX_ACCOUNTS.Base)")
I understand that the Remove function will not accept a member expansion. Members to be removed must be listed in the function as specified in this post:
"What is the best approach to “subtract” members in a hierarchy, the following member filter is not returning the expected results. E#Tot_Mgmt.Remove(Houston) | OneStream Community"
But is there any alternative to do it without listing accounts to remove one by one ?
Any help is appreciated!
Thank you