Skip to Content
author's profile photo Former Member
Former Member

Need some examples on Member, Self After, Self Before funcitons used with Hierarchy object in Webi 4.0.

Hi All 😊

I'm using BICS connection for webi in BO 4.0 SP04 Patch 6.

I know the usage of function isLeaf() which is useful with Hierarchical objects to check whether it is Child Node or Parent Node. But i'm confused with Self After, Self Before, etc functions useful with Hierarchical Objects. Please help me by explaining with Examples.

Is it possible to perform If conditions to check any of the child's Revenue is zero and if so, return 0 or divide by Total Revenue. And i want to Sum the Result returned by above if condition.

For Example, If 'Revenue of Child1' is not 0 then (Child1's Revenue/Total Revenue) + if 'Revenue of Child2' is 0 then 0 + If 'Revenue of Child3' is not 0 then (Child3's Revenue/Total Revenue).

Note: i want to calcuate only for particular parent node in the list.

Thanks in Advance!!! 😀

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2012 at 11:06 AM

    Hi,

    You can for example check if the sum of descendants to a member are zero comparing to a formula similar to this one:

    =Sum( [KPI1] ; Descendants([Hierarchy];1;Self_After))

    Check following blog to see hierarchy formulas in action:

    http://www.trustedbi.com/2012/05/29/secret-formula/

    Best regards,

    Victor

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.