Hi Can any one help with the formula required for this. I am populating a specific element with an amount from another cube and want to subtract from this the value of all other elements under the same parent. This can not be done in the dimension hierarchy as the specific element populated is dynamically determined by data in the referenced cube and can be any one of the elements. The other elements to be summed in the same hierarchy have manual input on that particular row. We can see the value summed in the Parent but the feeders sequence populate this after the value in the specific element has been determined so do not have a summed value of the hierarchy before the specific element has been populated.
I can not see a function for the number of elements in a hierarchy or the last element position in the Hierarch. I have assumed that we can determine the position of "Current" element using POSITION("Time","Month List", Element("Dimension") ). I can determine the first position but need the last position. (ah while writing this I had a thought that perhaps I can create a dummy element at the end of the elements and use POSITION to determine this).
I can not see a function for the number of elements in a hierarchy or the last element position in the Hierarch. I have assumed that we can determine the position of "Current" element using POSITION("Time","Month List", Element("Dimension") ). I can determine the first position but need the last position. (ah while writing this I had a thought that perhaps I can create a dummy element at the end of the elements and use POSITION to determine this).