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
CrispinC
4 years agoNew Contributor II
Remove the value of a child
Is there a way that you can exclude the value of a specific child in the account hierarchy without losing drill down functionality in cube views? For example to exclude bonuses from staff costs.
You can create a dynamic calc (on the ud8 dimension) subtracting the members value from the nodes.
You can add a drilldown path formula to the ud8 member.
11 Replies
- LeeBContributor III
You could create an alternate Account hierarchy for reporting which does not include Staff Costs.
You could then use this hierarchy in your Cube View.
Lee
- LeeBContributor III
You're not doing anything wrong there, GetDataCell will not allow drill-down.
- ChristianW
OneStream Employee
You can create a dynamic calc (on the ud8 dimension) subtracting the members value from the nodes.
- RamuVNew Contributor III
CubeView will retain the Member filter assigned for the Account. The crude way is to mention the Accounts you want in the cubeview.
An alternate account hierarchy can be created with the desired accounts only and also creating a UD8 member with a Stored value in the formula where you call the accounts and exclude the unwanted account.
In cubeview Account member filter, you can also try the GetDataCell(ACC1+ACC2+.....):Name("MyAccounts")
This might again look like lengthy string but might get you the desired cubeview.
In the member filter, please try if you can get any output with the Where clause as well. I haven't tried it but will share feedback in case I test it.
- CrispinCNew Contributor II
Thanks for your comment. I'll have to try the first two suggestions. I did try GetDataCell but then I lose the drilldown functionality, unless I'm doing it wrong.
- ChristianW
OneStream Employee
You can add a drilldown path formula to the ud8 member.
- DeanHarperNew Contributor II
Hi, You can use the remove function in the member filter eg
A#Staff_costs.tree.remove(A#Bonus_cost)
Managing Consultant - AMCO Solutions
- CrispinCNew Contributor II
Hi,
Thanks for your advice. I've tried to apply the member filter
A#[Total Staff Costs].Tree.Remove.(A#R7101002)
with R7101002 being the bonus account.
However I get a result that says #ERROR - Unexpected Text.
I'm not sure how to get around this.
- MarcRContributor II
You should remove the . Before the bracket and the A# between the brackets.
.remove(R7101002) when you hover over the examples in the member selection pane you often see the correct syntax.
- CrispinCNew Contributor II
Thanks for the great tips. I can see the data at the detailed level but was hoping to get to a single row called Staff costs excl Bonus. Using the remove function is there a way to deduct a single account from the group to get a single line that sums all other account lines in the group without showing those account lines, or does this have to be done through GetDataCell where drill down functionality is lost?
Related Content
- 2 years ago
- 2 years ago
- 3 years ago
- 5 months ago