The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
otmaneoirda
1 year agoNew Contributor
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 follow...
- 1 year ago
You can remove more than one by separating them with a comma. Eg .Remove(Acc1, Acc2)
sameburn
OneStream Employee
1 year agoHi otmaneoirda
You can pass your expansion e.g. A#Root.Base into this api e.g. api.Members.GetMembersUsingFilter(dimPk, memberFilter, dimDisplayOptions) to return a list of members, based on your filter.
You can then create a comma separated list of these members and pass them into your ADC e.g. A#Root.Base.Remove(A1,A2,A3, etc), similar to MarcusH suggestion
Hope this helps
Sam
Related Content
- 2 years ago
- 3 years ago