Hi,
I'm trying to figure out a way how to solve the following requirement in WebI.
I have two figures out of which I get a ratio (= average). If seen across a hierarchy, the average can be calculated for every node on every level. However, what I need is a calculation of averages of averages, meaning: For a node, I take the averages of the direct children and average them. For a bottom node, this is easy to implement (such as when using "Descendants"). For the parents, it becomes tricky, though, because the result depends on the result of the previous calculation.
Hierarchy:
A
--B
----C
-------D
-------E
----F
-------G
By normal standards, Average of B would be Average of D, E and G (the leafs). What I want, though, is that Average of B is Average of C and F, with C being average of D and E.
Any ideas how to solve this?
Regards,
Tilman